Changeset 29204


Ignore:
Timestamp:
2011-11-17T02:18:22+01:00 (6 years ago)
Author:
jow
Message:

[package] base-files: now that we have date -k, adjust the kernel timezone after setting up TZ and localtime

Location:
trunk/package/base-files
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/base-files/Makefile

    r29187 r29204  
    1111 
    1212PKG_NAME:=base-files 
    13 PKG_RELEASE:=95 
     13PKG_RELEASE:=96 
    1414 
    1515PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ 
  • trunk/package/base-files/files/etc/init.d/boot

    r28835 r29204  
    1616        config_get buffersize "$cfg" buffersize 
    1717        [ -z "$conloglevel" -a -z "$buffersize" ] || dmesg ${conloglevel:+-n $conloglevel} ${buffersize:+-s $buffersize} 
    18          
     18 
    1919        config_get timezone "$cfg" timezone 'UTC' 
    2020        echo "$timezone" > /tmp/TZ 
     
    2222        config_get zonename "$cfg" zonename 
    2323        [ -n "$zonename" ] && [ -f "/usr/share/zoneinfo/$zonename" ] && ln -s "/usr/share/zoneinfo/$zonename" /tmp/localtime 
     24 
     25        # apply timezone to kernel 
     26        date -k 
    2427 
    2528        if [ -x /sbin/syslogd ]; then 
Note: See TracChangeset for help on using the changeset viewer.