oda: Script net if

This commit is contained in:
Meutel 2017-11-22 20:19:16 +01:00
parent 2ccd89db18
commit ee0c7fc4af
2 changed files with 11 additions and 0 deletions

6
eth__oda.armorique.lan Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
# activate ethernet interface
# TODO disable wifi, clear routing table, message if no usb swithc plugged)
# TODO doas nopass for all commands
# TODO check internet cx
doas sh /etc/netstart ure0

5
wifi__oda.armorique.lan Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
# activate wifi interface
# TODO disable eth, clear routing table, messqge if unknown ESSID
# TODO doas nopass for all commands
doas sh /etc/netstart iwm0