mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
wireless driver is now printed in boot log
This commit is contained in:
parent
dca861266c
commit
1e28728670
@ -66,6 +66,8 @@ start() {
|
||||
return 1
|
||||
fi
|
||||
done
|
||||
|
||||
module=$(basename $(readlink /sys/class/net/$iface/device/driver/module 2>/dev/null) 2>/dev/null)
|
||||
|
||||
iwconfig $iface power off &> /dev/null
|
||||
$prog -i$iface -c$conf -D$driver -B &> $log
|
||||
@ -78,7 +80,7 @@ start() {
|
||||
fi
|
||||
|
||||
if [ $count -gt $link_watch_timeout ] || ! pidof wpa_supplicant > /dev/null; then
|
||||
msg_fail
|
||||
test -n "$module" && msg_fail "failed ($module)"|| msg_fail
|
||||
return 1
|
||||
fi
|
||||
|
||||
@ -89,7 +91,7 @@ start() {
|
||||
watch &
|
||||
fi
|
||||
|
||||
msg_done
|
||||
test -n "$module" && msg_done "done ($module)"|| msg_done
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user