Skip to content

Commit

Permalink
watch on first interface
Browse files Browse the repository at this point in the history
  • Loading branch information
mwarning committed Apr 5, 2018
1 parent 84baa5c commit 5353e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openwrt/device-observatory/files/device-observatory.init
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ OPTS=""

boot()
{
local dev="$(uci get -q device-observatory.@setup[0].dev)"
local dev="$(uci get -q device-observatory.@setup[0].dev | cut -d ' ' -f 1)"

# Wait for interface to be up
ubus -t 30 wait_for network.interface network.${foo:-localhost} 2>/dev/null
Expand Down

0 comments on commit 5353e81

Please sign in to comment.