mirror of
https://codeberg.org/hyperreal/dotfiles
synced 2024-11-25 03:43:43 +01:00
Egh
This commit is contained in:
parent
04afc6e08f
commit
9feef98397
@ -336,14 +336,14 @@ function disable_ipv6() {
|
||||
else
|
||||
echo "IPv6 already disabled."
|
||||
fi
|
||||
fi
|
||||
|
||||
elif test -f /etc/redhat-release; then
|
||||
if ! sudo grep "ipv6.disable=1" /boot/grub2/grub.cfg; then
|
||||
sudo grubby --args=ipv6.disable=1 --update-kernel=ALL
|
||||
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||
else
|
||||
echo "IPv6 already disabled."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
function setup_fstab() {
|
||||
|
Loading…
Reference in New Issue
Block a user