shorter syntax
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>
Wed, 4 May 2005 06:41:19 +0000 (06:41 +0000)
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>
Wed, 4 May 2005 06:41:19 +0000 (06:41 +0000)
SVN-Revision: 795

openwrt/package/ppp/ipkg/ppp-pppoe-plugin/etc/ppp/ip-up

index c85862cef86402ae95ac85b9c1610a76ab922a49..6cb950c8b132a9b9ed42d77c11f4f29936202f1e 100755 (executable)
@@ -1,4 +1,2 @@
 #!/bin/sh
-
-ntp_server=$(nvram get ntp_server)
-/usr/sbin/rdate ${ntp_server} 
+/usr/sbin/rdate $(nvram get ntp_server)