slitaz-boot-scripts rev 215

/etc/init.d/rc.functions: define TZ
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 15 17:12:18 2010 +0200 (2010-07-15)
parents fa0553549cf3
children 9d7ca10a4e62
files etc/init.d/rc.functions etc/init.d/rcS
line diff
     1.1 --- a/etc/init.d/rc.functions	Mon Jul 05 12:56:52 2010 +0200
     1.2 +++ b/etc/init.d/rc.functions	Thu Jul 15 17:12:18 2010 +0200
     1.3 @@ -40,3 +40,6 @@
     1.4  		return 2
     1.5  	fi
     1.6  }
     1.7 +
     1.8 +# Set TZ
     1.9 +[ -s /etc/TZ ] && export TZ="$(cat /etc/TZ)"
     2.1 --- a/etc/init.d/rcS	Mon Jul 05 12:56:52 2010 +0200
     2.2 +++ b/etc/init.d/rcS	Thu Jul 15 17:12:18 2010 +0200
     2.3 @@ -75,7 +75,7 @@
     2.4  
     2.5  # Store boot messages to log files.
     2.6  /bin/dmesg > /var/log/dmesg.log &
     2.7 -conspy -d 1 | sed -e 's/ *$//' -e '/^$/d' -e '/^Processing\|^.witching/,$!d' >/var/log/boot.log
     2.8 +conspy -d | sed 's/ *$//;/^$/d;/^Processi\|^.witchi/,$!d' > /var/log/boot.log
     2.9  script -a -q -c '/etc/init.d/rcS logged' /var/log/boot.log
    2.10  
    2.11  else # logged