1
0

pppoe-server.default 229 B

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