dslmngr: remove dependency on board-db

This commit is contained in:
Rahul Thakur 2023-09-07 16:21:19 +05:30
parent eebe898c37
commit 9084ce08b3
2 changed files with 2 additions and 4 deletions

View file

@ -302,6 +302,8 @@ xdsl_stop() {
} }
xdsl_init() { xdsl_init() {
[ -d /sys/class/net/dsl0/ ] || exit
prioritize_arp prioritize_arp
echo "Starting DSL" echo "Starting DSL"

View file

@ -26,10 +26,6 @@ stop_service() {
} }
boot() { boot() {
local HASADSL="$(db -q get hw.board.hasAdsl)"
local HASVDSL="$(db -q get hw.board.hasVdsl)"
[ "$HASADSL" == "1" -o "$HASVDSL" == "1" ] || return
xdsl_init xdsl_init
start start