diff options
author | wbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-05-01 11:03:00 +0000 |
---|---|---|
committer | wbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-05-01 11:03:00 +0000 |
commit | b860eabe20a9305bd1f0aa43fec54aefae5a6a69 (patch) | |
tree | c99ce948e346812f83762db3a33a3e18d9149873 /openwrt | |
parent | 9c2fe82eba2a4c7ccf591a3822763179d9cac66e (diff) |
ip-up script, so that we can get time from network after successful connection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@783 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt')
-rwxr-xr-x | openwrt/package/ppp/ipkg/ppp-pppoe-plugin/etc/ppp/ip-up | 4 |
1 files changed, 4 insertions, 0 deletions
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} |