ppp: enable no_device in the netifd pppoa handler to bring it up at boot time (#11631)
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 9 Jun 2012 23:16:26 +0000 (23:16 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 9 Jun 2012 23:16:26 +0000 (23:16 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32146 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/ppp/files/ppp.sh

index 297a329..7d475a9 100755 (executable)
@@ -133,6 +133,8 @@ proto_pppoa_init_config() {
        proto_config_add_int "vci"
        proto_config_add_int "vpi"
        proto_config_add_string "encaps"
+       no_device=1
+       available=1
 }
 
 proto_pppoa_setup() {