mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-19 05:04:04 +02:00
[package] base-files: now that we have date -k, adjust the kernel timezone after setting up TZ and localtime
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29204 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7c678312c9
commit
e9531fc3c0
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||
include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
PKG_NAME:=base-files
|
||||
PKG_RELEASE:=95
|
||||
PKG_RELEASE:=96
|
||||
|
||||
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
||||
PKG_BUILD_DEPENDS:=opkg/host
|
||||
|
@ -22,6 +22,9 @@ system_config() {
|
||||
config_get zonename "$cfg" zonename
|
||||
[ -n "$zonename" ] && [ -f "/usr/share/zoneinfo/$zonename" ] && ln -s "/usr/share/zoneinfo/$zonename" /tmp/localtime
|
||||
|
||||
# apply timezone to kernel
|
||||
date -k
|
||||
|
||||
if [ -x /sbin/syslogd ]; then
|
||||
local args log_ip log_size log_port log_type log_file
|
||||
config_get log_ip "$cfg" log_ip
|
||||
|
Loading…
Reference in New Issue
Block a user