Kaynağa Gözat

ppp: enable no_device in the netifd pppoa handler to bring it up at boot time (#11631)

SVN-Revision: 32146
Felix Fietkau 13 yıl önce
ebeveyn
işleme
557a3b5dd4
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      package/ppp/files/ppp.sh

+ 2 - 0
package/ppp/files/ppp.sh

@@ -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() {