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