1
0
mirror of https://github.com/byReqz/netset.git synced 2024-11-22 12:51:15 +00:00

add netctl to starting section

This commit is contained in:
Nils 2021-02-22 23:27:10 +01:00
parent 1dcd4a06a7
commit 51efbd4342
Signed by: byreqz
GPG Key ID: 396A62D7D436749E

View File

@ -17,6 +17,11 @@ if [[ -n $(ls /etc | grep -e "netplan") ]];then
else else
echo "3. netplan [not installed]" echo "3. netplan [not installed]"
fi fi
if [[ -n $(ls /etc | grep -e "netctl") ]];then
echo "4. netctl [installed]"
else
echo "4. netctl [not installed]"
fi
read c1 read c1
if [[ "$c1" == "1" ]] || [[ "$c1" == "1." ]] || [[ "$c1" == "systemd-resolved" ]];then if [[ "$c1" == "1" ]] || [[ "$c1" == "1." ]] || [[ "$c1" == "systemd-resolved" ]];then
if [[ -z $(sudo systemctl status systemd-networkd | grep -e "dead") ]];then if [[ -z $(sudo systemctl status systemd-networkd | grep -e "dead") ]];then