Skip to content

Commit

Permalink
portal: add usb0 to quit
Browse files Browse the repository at this point in the history
  • Loading branch information
gtxaspec committed Oct 24, 2024
1 parent 4ee7c1b commit bf4445d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/thingino-portal/files/S41portal
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ case "$1" in
start)
starting
[ -f /run/portal_mode ] && quit "Already running"
iface_exists "eth0" && quit "Ethernet port found"
(iface_exists "eth0" || iface_exists "usb0") && quit "Wired interface found"
iface_exists "$net_dev" || quit "Wireless port not found"
# quit if credentials are set
ssid="$(get wlanssid)"
Expand Down

0 comments on commit bf4445d

Please sign in to comment.