mirror of
https://github.com/byReqz/netset.git
synced 2024-11-22 04:51:14 +00:00
add netctl to starting section
This commit is contained in:
parent
1dcd4a06a7
commit
51efbd4342
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user