From: Waldemar Brodkorb Date: Sun, 1 May 2005 11:03:00 +0000 (+0000) Subject: ip-up script, so that we can get time from network after successful connection X-Git-Tag: reboot~32930 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ad4d414c5b7dafeb2a9c5bfc8f3d7fed38a2ffea;p=openwrt%2Fstaging%2Fnoltari.git ip-up script, so that we can get time from network after successful connection SVN-Revision: 783 --- diff --git a/openwrt/package/ppp/ipkg/ppp-pppoe-plugin/etc/ppp/ip-up b/openwrt/package/ppp/ipkg/ppp-pppoe-plugin/etc/ppp/ip-up new file mode 100755 index 0000000000..c85862cef8 --- /dev/null +++ b/openwrt/package/ppp/ipkg/ppp-pppoe-plugin/etc/ppp/ip-up @@ -0,0 +1,4 @@ +#!/bin/sh + +ntp_server=$(nvram get ntp_server) +/usr/sbin/rdate ${ntp_server}