~voidraven/wgh

d0d11010a45aa4557c62d426e881b87878d718ba — voidraven 6 months ago 2c68b19
updated lock message to be in a more consistent style
1 files changed, 2 insertions(+), 2 deletions(-)

M wgh.sh
M wgh.sh => wgh.sh +2 -2
@@ 22,7 22,7 @@ CONNECTED_TO=""
# NetworkManager wants to reset the DNS server
fun_lock_resolv () {
    if [ "$LOCKING" = "true" ] ; then
	$SUPER_CMD chattr +i /etc/resolv.conf && echo "-- /etc/resolv.conf successfully locked --"
	$SUPER_CMD chattr +i /etc/resolv.conf && echo "wgh: /etc/resolv.conf successfully locked"
    fi
}



@@ 30,7 30,7 @@ fun_lock_resolv () {
# unlocks /etc/resolv.conf
fun_unlock_resolv () {
    if [ "$LOCKING" = "true" ] ; then 
       $SUPER_CMD chattr -i /etc/resolv.conf && echo "-- /etc/resolv.conf successfully unlocked --"
       $SUPER_CMD chattr -i /etc/resolv.conf && echo "wgh: /etc/resolv.conf successfully unlocked"
    fi
}