From: wbx Date: Wed, 4 May 2005 06:41:19 +0000 (+0000) Subject: shorter syntax X-Git-Url: http://git.rohieb.name/openwrt.git/commitdiff_plain/50d17fd6a32e8801450fbdd962ae6ced28123d42?hp=bad834ba7a4c3cced677d405a97d7ce5f9ecc449 shorter syntax git-svn-id: svn://svn.openwrt.org/openwrt/trunk@795 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 c85862cef..6cb950c8b 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)