minor update: localtime

This commit is contained in:
Jaroslav Kysela 2015-05-24 20:30:36 +02:00
parent db129d8a72
commit 3b50611490
2 changed files with 10 additions and 1 deletions

6
dist/README vendored
View File

@ -10,6 +10,8 @@ Update:
- since build 9 firmware upgrade may be upgraded using upgrade-fw tool
- file can be fetched directly from github
- or specified as a local firmware file directly
- the file is copied to ramfs before flashing
- the first attempt fails usually (ask Inverto), press Enter to repeat
- example: 'upgrade-fw'
- lists firmwares on github
- example: 'upgrade-fw satip-axe-201504211434-8.fw'
@ -45,11 +47,13 @@ Installation to internal flash:
Customization:
- configuration file is in /etc/sysconfig/config
- put localtime file (glibc) to /etc/sysconfig/localtime
- localboot script can be in /etc/sysconfig/localboot
- passwd file is copied from /etc/sysconfig/passwd
- ssh authorized_keys file is copied from /etc/sysconfig/authorized_keys
- inetd.conf file is linked to /etc/sysconfig/inetd.conf
- oscam configs are in /etc/sysconfig/oscam directory
- if /etc/sysconfig/customd script exists, it is executed from init
httpd:
@ -150,7 +154,7 @@ History:
- added http://boxip:8080/axe-status.txt status page (shell parseable)
- fixed ntpd start
- added crond start / configuration
- added customd start (custom daemon/service/setup - script) from sysinit
- added customd start (custom daemon/service/setup - script) from init
- added nano text editor
- updated oscam to 10663
- added upgrade-fw script for the internal flash upgrade without an USB stick

View File

@ -109,6 +109,11 @@ nc -l 127.0.0.1:1001 -e /bin/true
rm -f /root/main_init.sh /tmp/axe-done
logger -p local0.notice "AXE drivers load finish"
# localtime
if test -r /etc/sysconfig/localtime; then
ln -s sysconfig/localtime /etc/localtime
fi
# hostname
test -r /etc/sysconfig/config && . /etc/sysconfig/config
test -n "$HOSTNAME" && hostname "$HOSTNAME"