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