removing open ports when sibling project removed
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Runs after 71-siblings.sh so ports added in a sibling's latest commit open
|
||||
# in the same update
|
||||
|
||||
source "$HOME/.local/share/MiniServer/utils.sh"
|
||||
|
||||
# Defined after sourcing utils.sh, which has its own is_installed
|
||||
is_installed() {
|
||||
pacman -Qi firewalld &> /dev/null
|
||||
}
|
||||
|
||||
run_update() {
|
||||
setup_firewall
|
||||
}
|
||||
Reference in New Issue
Block a user