add net-snmp to DEV_LIBS
[openwrt.git] / openwrt / package / openntpd / files / ntpd.init
index e528748..8bac705 100644 (file)
@@ -1,3 +1,3 @@
 #!/bin/sh
-mkdir -p `grep "^ntp:" /etc/passwd | cut -d: -f6`
+mkdir -p `awk -F: '/^ntp:/{print $6}' /etc/passwd`
 /usr/sbin/ntpd -s
This page took 0.025575 seconds and 4 git commands to generate.