mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
rp-pppoe: Add back from oldpackages with build fixes and enhanced packaging
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>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#!/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
|
||||
|
||||
Reference in New Issue
Block a user