mirror of
https://github.com/SinTan1729/random.git
synced 2024-12-26 21:18:36 -06:00
7 lines
178 B
Bash
7 lines
178 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
# this is a script to automatically connect to ethernet on boot
|
||
|
|
||
|
[ $(nmcli connect show --active | grep "ethernet\|wifi" | wc -l) == "0" ] && nmcli connect up "pi/3"
|
||
|
|