summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-04 06:41:19 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-04 06:41:19 +0000
commit96f3c2a9368794c9aa7acb634b22d101106daf0c (patch)
tree74fca9445f60019b3d13cf9282ff08b0a0e1f6bb
parent53196c5db3077fa0ae42b4d578c6bee83d8e8ca6 (diff)
shorter syntax
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@795 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xpackage/ppp/ipkg/ppp-pppoe-plugin/etc/ppp/ip-up4
1 files changed, 1 insertions, 3 deletions
diff --git a/package/ppp/ipkg/ppp-pppoe-plugin/etc/ppp/ip-up b/package/ppp/ipkg/ppp-pppoe-plugin/etc/ppp/ip-up
index c85862cef..6cb950c8b 100755
--- a/package/ppp/ipkg/ppp-pppoe-plugin/etc/ppp/ip-up
+++ b/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)