mirror of
https://github.com/SinTan1729/random.git
synced 2024-12-26 05:08:36 -06:00
6 lines
178 B
Bash
Executable file
6 lines
178 B
Bash
Executable file
#!/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"
|
|
|