[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:
jow
2011-10-24 22:13:18 +00:00
parent 6b74935a23
commit 09884cfef8
2 changed files with 18 additions and 6 deletions

View File

@ -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() {