Add back from oldpackages with fixes for build errors and UCIfication (for LuCI app submitted in a related PR (against LuCI repo)). NOTE: Untested packages have been marked with @BROKEN. This can be undone of others report success with the sniffer Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
10 lines
224 B
Bash
10 lines
224 B
Bash
#!/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
|
|
|