From 630002d4d05ec2174cc1f79880eae5d5ee205069 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 1 May 2005 11:03:00 +0000 Subject: [PATCH] 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 --- openwrt/package/ppp/ipkg/ppp-pppoe-plugin/etc/ppp/ip-up | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 openwrt/package/ppp/ipkg/ppp-pppoe-plugin/etc/ppp/ip-up 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} -- 2.11.0