# HG changeset patch # User Pascal Bellard # Date 1440703157 -7200 # Node ID dcdb496ee31f5028cb35c6d8dc815bed72ddecc9 # Parent 5f5c78d24bfdae554f0521ddec47e032fb8a5332 remove some error message in base diff -r 5f5c78d24bfd -r dcdb496ee31f etc/init.d/bootopts.sh --- a/etc/init.d/bootopts.sh Thu Aug 27 14:40:07 2015 +0200 +++ b/etc/init.d/bootopts.sh Thu Aug 27 21:19:17 2015 +0200 @@ -62,8 +62,10 @@ eject /dev/cdrom ;; autologin) # Autologin option to skip first graphic login prompt. - sed -i '/auto_login .*/d' /etc/slim.conf - echo 'auto_login yes' >> /etc/slim.conf ;; + if [ -f /etc/slim.conf ]; then + sed -i '/auto_login .*/d' /etc/slim.conf + echo 'auto_login yes' >> /etc/slim.confi + fi ;; lang=*) # Check for a specified locale (lang=*). LANG=${opt#lang=} diff -r 5f5c78d24bfd -r dcdb496ee31f etc/init.d/network.sh --- a/etc/init.d/network.sh Thu Aug 27 14:40:07 2015 +0200 +++ b/etc/init.d/network.sh Thu Aug 27 21:19:17 2015 +0200 @@ -11,7 +11,7 @@ . "$CONF" WPA_CONF='/etc/wpa/wpa.conf' -[ ! -e "$WPA_CONF" ] && cp /etc/wpa/wpa_empty.conf $WPA_CONF +[ ! -e "$WPA_CONF" ] && cp /etc/wpa/wpa_empty.conf $WPA_CONF 2> /dev/null # Migrate existing settings to a new format file