[packages] ntpclient: redirect adjtimex output to eliminate syslog spam. Closes ...
authoragb <agb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 10 May 2008 06:30:25 +0000 (06:30 +0000)
committeragb <agb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 10 May 2008 06:30:25 +0000 (06:30 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@11103 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/ntpclient/files/ntpclient.hotplug

index 403be9d..e1274c5 100644 (file)
@@ -15,7 +15,7 @@ config_cb() {
                        config_get freq         $cfg freq
 
                        if [ ! "$freq" = "" ]; then
-                               adjtimex -f $freq
+                               adjtimex -f $freq >/dev/null
                        fi
                ;;
        esac