fixes ntpclient, whoich quit if -s and -l were not handed over as parameters

git-svn-id: svn://svn.openwrt.org/openwrt/packages@12339 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic 2008-08-19 17:25:32 +00:00
parent 2d5444a55d
commit e0c6fbdda0

View File

@ -29,7 +29,7 @@ start_ntpclient() {
config_foreach check_server ntpserver
[ -z "$SERVER" ] && exit 0
logger starting ntpclient
$NTPC ${COUNT:+-c $COUNT} ${INTERVAL:+-i $INTERVAL} -D -p $PORT -h $SERVER 2> /dev/null
$NTPC ${COUNT:+-c $COUNT} ${INTERVAL:+-i $INTERVAL} -s -l -D -p $PORT -h $SERVER 2> /dev/null
}
stop_ntpclient() {