mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
ppp: syncppp: fix grep's regex match (#4609)
This commit is contained in:
parent
e48e438b08
commit
8f9bc86de1
@ -234,7 +234,7 @@ proto_pppoe_setup() {
|
||||
#By 蝈蝈:并发拨号同步的前期准备
|
||||
syncppp_option=""
|
||||
[ "$(uci get syncdial.config.enabled)" == "1" ] && {
|
||||
ppp_if_cnt=$(cat /etc/config/network | grep -c "proto 'pppoe'")
|
||||
ppp_if_cnt=$(cat /etc/config/network | grep -E -c "proto\s+?'pppoe'")
|
||||
syncppp_option="syncppp $ppp_if_cnt"
|
||||
shellsync $ppp_if_cnt 10
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user