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)