pppoe-relay.default 224 B

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