ip-up script, so that we can get time from network after successful connection
SVN-Revision: 783
This commit is contained in:
parent
6777ecb5a5
commit
ad4d414c5b
1 changed files with 4 additions and 0 deletions
4
openwrt/package/ppp/ipkg/ppp-pppoe-plugin/etc/ppp/ip-up
Executable file
4
openwrt/package/ppp/ipkg/ppp-pppoe-plugin/etc/ppp/ip-up
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
ntp_server=$(nvram get ntp_server)
|
||||
/usr/sbin/rdate ${ntp_server}
|
Loading…
Reference in a new issue