wifipineapple-openwrt/package/openntpd/files/ntpd.init

4 lines
78 B
Bash

#!/bin/sh
mkdir -p `grep "^ntp:" /etc/passwd | cut -d: -f6`
/usr/sbin/ntpd -s