[packages] ntpd: allow coexistence with BusyBox ntpd by placing the deamon into /sbin and removing/adding the busybox ntpd symlink in postinst/prerm
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28572 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2006-2008 OpenWrt.org
|
||||
# Copyright (C) 2006-2011 OpenWrt.org
|
||||
|
||||
START=65
|
||||
|
||||
@ -9,7 +9,7 @@ start() {
|
||||
# ln -sf /dev/ttyS0 /dev/gps0
|
||||
# /usr/sbin/setgarmin -d /dev/gps -c /etc/setgarmin.conf
|
||||
stop
|
||||
/usr/sbin/ntpd -g -p $PIDFILE
|
||||
/sbin/ntpd -g -p $PIDFILE
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
Reference in New Issue
Block a user