diff options
| author | Klaatu <[email protected]> | 2015-05-17 15:35:50 +1200 |
|---|---|---|
| committer | Klaatu <[email protected]> | 2015-05-17 15:35:50 +1200 |
| commit | e6961c90da554ef46c84f94d0db5ef37bb23f0c2 (patch) | |
| tree | e71acaa2790bae3d5dc8c56300a33111a3255b84 /examples/etc/ninit/time/run | |
| parent | b0de699679e8f1e39af847ed172d1ba605b4370c (diff) | |
example ninit scripts
Diffstat (limited to 'examples/etc/ninit/time/run')
| -rwxr-xr-x | examples/etc/ninit/time/run | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/etc/ninit/time/run b/examples/etc/ninit/time/run new file mode 100755 index 0000000..4a61844 --- /dev/null +++ b/examples/etc/ninit/time/run @@ -0,0 +1,13 @@ +#!/bin/dash + +/sbin/rmmod lp parport_pc parport 2>/dev/null + +L='/usr/local/bin' + +$L/dnsip vpn-pppoe-213-240-242-57.megalan.bg > /dev/null +$L/dnsname 213.240.242.57 > /dev/null + +/usr/sbin/watchwtmp 200111 /usr/bin/bzippipe + +/bin/date >> /tmp/.rc.daily.log 2>&1 +exec /etc/cron.daily/exacttime.cron >> /tmp/.rc.daily.log 2>&1 |
