diff options
Diffstat (limited to 'package/openntpd/files/ntpd.init')
-rw-r--r-- | package/openntpd/files/ntpd.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/openntpd/files/ntpd.init b/package/openntpd/files/ntpd.init index e528748780..8bac705b4a 100644 --- a/package/openntpd/files/ntpd.init +++ b/package/openntpd/files/ntpd.init @@ -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 |