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
1 changed files with 5 additions and 0 deletions

View File

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