summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-05-04 06:41:19 +0000
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-05-04 06:41:19 +0000
commit56c9e7794a5bcdc5a1e4d72c17aafd2583a2eda4 (patch)
tree272ceb096d37bc2cba9634c4ba189ba0680d981b
parent3f9f58b2ef84f1a26fd01a29a0c0bbf34b2c97c5 (diff)
downloadmtk-20170518-56c9e7794a5bcdc5a1e4d72c17aafd2583a2eda4.zip
mtk-20170518-56c9e7794a5bcdc5a1e4d72c17aafd2583a2eda4.tar.gz
mtk-20170518-56c9e7794a5bcdc5a1e4d72c17aafd2583a2eda4.tar.bz2
shorter syntax
SVN-Revision: 795
-rwxr-xr-xopenwrt/package/ppp/ipkg/ppp-pppoe-plugin/etc/ppp/ip-up4
1 files changed, 1 insertions, 3 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
index c85862c..6cb950c 100755
--- a/openwrt/package/ppp/ipkg/ppp-pppoe-plugin/etc/ppp/ip-up
+++ b/openwrt/package/ppp/ipkg/ppp-pppoe-plugin/etc/ppp/ip-up
@@ -1,4 +1,2 @@
#!/bin/sh
-
-ntp_server=$(nvram get ntp_server)
-/usr/sbin/rdate ${ntp_server}
+/usr/sbin/rdate $(nvram get ntp_server)