You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

10 lines
229 B

#!/bin/sh
if [ -e /etc/default/pppoe-server ]; then
if [ -z "$(uci get pppoe.@pppoe_server[-1] 2>/dev/null)" ]; then
uci add pppoe pppoe_server_
fi
uci set pppoe.@pppoe-server[-1].use_non_uci_config=1
uci commit pppoe
fi