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