Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-10-03 12:46:41 +02:00
parent 2715f6f67d
commit d3e7c0d18b
6 changed files with 22 additions and 7 deletions

View File

@ -79,12 +79,12 @@ is_auto_mode() {
# if usb0 is up, we're in MANU
if is_interface_up usb0; then
return 0
return 1
fi
# if eth0 is up (for other boards), we're in MANU
if is_interface_up eth0; then
return 0
return 1
fi
# no override, but none of the interfaces is up -> AUTO