ppp: enable no_device in the netifd pppoa handler to bring it up at boot time (#11631)
authorFelix Fietkau <nbd@openwrt.org>
Sat, 9 Jun 2012 23:16:26 +0000 (23:16 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 9 Jun 2012 23:16:26 +0000 (23:16 +0000)
SVN-Revision: 32146

package/ppp/files/ppp.sh

index 297a3291546988eaf9901feb466065d3ab80cd37..7d475a985b28d7f7a76d227b2734c7f553a67864 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() {