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