move sysfs to mount_root
[openwrt.git] / 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.020479 seconds and 4 git commands to generate.