mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
dslmngr: remove dependency on board-db
This commit is contained in:
parent
eebe898c37
commit
9084ce08b3
2 changed files with 2 additions and 4 deletions
|
|
@ -302,6 +302,8 @@ xdsl_stop() {
|
|||
}
|
||||
|
||||
xdsl_init() {
|
||||
[ -d /sys/class/net/dsl0/ ] || exit
|
||||
|
||||
prioritize_arp
|
||||
|
||||
echo "Starting DSL"
|
||||
|
|
|
|||
|
|
@ -26,10 +26,6 @@ stop_service() {
|
|||
}
|
||||
|
||||
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
|
||||
|
||||
start
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue