ip-up script, so that we can get time from network after successful connection
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>
Sun, 1 May 2005 11:03:00 +0000 (11:03 +0000)
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>
Sun, 1 May 2005 11:03:00 +0000 (11:03 +0000)
SVN-Revision: 783

openwrt/package/ppp/ipkg/ppp-pppoe-plugin/etc/ppp/ip-up [new file with mode: 0755]

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 (executable)
index 0000000..c85862c
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+ntp_server=$(nvram get ntp_server)
+/usr/sbin/rdate ${ntp_server}