fix
This commit is contained in:
parent
b2c77d1fee
commit
abd3139635
@ -168,7 +168,9 @@ basic-security() {
|
||||
|
||||
virtualization() {
|
||||
ip link del virbr0
|
||||
killall dnsmasq
|
||||
/usr/bin/systemctl restart libvirtd
|
||||
sleep 10
|
||||
$NFT insert rule filter input iif $VIRT_BRIDGE $NFT_ACCEPT
|
||||
/usr/bin/virsh net-start default
|
||||
}
|
||||
@ -317,6 +319,8 @@ stop() {
|
||||
|
||||
if [ "$1" = "start" ]; then
|
||||
start
|
||||
elif [ "$1" = "virt" ]; then
|
||||
virtualization
|
||||
elif [ "$1" = "fediblock" ]; then
|
||||
fediblock
|
||||
elif [ "$1" = "bot-search" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user