projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
system now knows which timezone it is in
[openwrt.git]
/
package
/
base-files
/
files
/
etc
/
init.d
/
boot
diff --git
a/package/base-files/files/etc/init.d/boot
b/package/base-files/files/etc/init.d/boot
index
5f5ca99
..
57c034e
100755
(executable)
--- a/
package/base-files/files/etc/init.d/boot
+++ b/
package/base-files/files/etc/init.d/boot
@@
-12,6
+12,10
@@
system_config() {
config_get conloglevel "$cfg" conloglevel
[ -n "$conloglevel" ] && dmesg -n "$conloglevel"
config_get conloglevel "$cfg" conloglevel
[ -n "$conloglevel" ] && dmesg -n "$conloglevel"
+
+ config_get timezone "$cfg" timezone
+ [ -z "$timezone" ] && timezone=UTC
+ echo "$timezone" > /tmp/TZ
config_get log_ip "$cfg" log_ip
config_get log_size "$cfg" log_size
config_get log_ip "$cfg" log_ip
config_get log_size "$cfg" log_size
@@
-27,7
+31,7
@@
apply_uci_config() {(
start() {
[ -f /proc/mounts ] || /sbin/mount_root
[ -f /proc/jffs2_bbc ] && echo "S" > /proc/jffs2_bbc
start() {
[ -f /proc/mounts ] || /sbin/mount_root
[ -f /proc/jffs2_bbc ] && echo "S" > /proc/jffs2_bbc
- vconfig set_name_type DEV_PLUS_VID_NO_PAD
+
[ -f /proc/net/vlan/config ] &&
vconfig set_name_type DEV_PLUS_VID_NO_PAD
apply_uci_config
config_load system
apply_uci_config
config_load system
This page took
0.020363 seconds
and
4
git commands to generate.