1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-13 02:41:11 +03:00
openwrt-xburst/package/base-files/files/etc/init.d
jow f8b2067e09 [package] base-files: remove rdate integration, add busybox ntpd init script and server list in /etc/config/system
The rdate applet proved to be too unreliable to obtain the current time on boot:
	- public time servers are rare and often unreachable or overloaded
	- rdate does not daemonize, it needs a network connection the moment it is started, leading to race conditions
	- the /etc/config/timeserver configuration is overly complex and there is no reliable way to disable rdate invocations
	- the time protocol as specified in RFC 868 is considered obsolete
This commit adds an init script /etc/init.d/sysntpd which starts and stops the busybox ntpd accordingly.
The builtin ntpd can be disabled by either disabling the init script, removing the symlink to busybox or
by clearing the timeserver list in /etc/config/system.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 00:21:53 +00:00
..
boot [package] base-files: use "zonename" system option to symlink /etc/localtime via /tmp/localtime to /usr/share/zoneinfo for glibc and eglibc 2011-09-26 02:28:04 +00:00
done [package] base-files: introduce a ready-to-use /etc/rc.local to let users run custom commands on init without creating custom init scripts 2009-09-11 21:35:03 +00:00
led [package] base-files: support port_state in led config (#6763) 2011-01-27 21:49:46 +00:00
rcS Fix bug in foregrounding in /etc/init.d/rcS 2010-04-16 18:14:08 +00:00
sysctl base-files: do not warn about nonexistant sysctl overrides (some of them are config dependent) 2010-01-29 02:17:11 +00:00
sysntpd [package] base-files: remove rdate integration, add busybox ntpd init script and server list in /etc/config/system 2011-10-27 00:21:53 +00:00
umount [base-files] Don't do lazy unmounting of filessystems at reboot/poweroff. 2010-02-09 18:07:36 +00:00
usb use rc.common for usb init script 2007-04-06 16:07:36 +00:00
watchdog [package] base-files: Remove redundant stopping of watchdog 2010-05-03 10:56:58 +00:00