summaryrefslogtreecommitdiff
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
commit50d17fd6a32e8801450fbdd962ae6ced28123d42 (patch)
tree272ceb096d37bc2cba9634c4ba189ba0680d981b
parentbad834ba7a4c3cced677d405a97d7ce5f9ecc449 (diff)
shorter syntax
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@795 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 c85862cef8..6cb950c8b1 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)