aboutsummaryrefslogtreecommitdiff
path: root/setup.sh
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2026-07-07 13:04:42 +0530
committerAkshay Nair <phenax5@gmail.com>2026-07-07 13:04:42 +0530
commit4c142d2a977a2c377ea3bef30fa986010056ba3e (patch)
treee1244ef962f2c60dc4cf5b62d3a7e8005e0e1463 /setup.sh
parent17d0f321faeecf5ea46faccb4157347673690def (diff)
downloadbacchus-remote-4c142d2a977a2c377ea3bef30fa986010056ba3e.tar.gz
bacchus-remote-4c142d2a977a2c377ea3bef30fa986010056ba3e.zip
Add comment modal + color changes
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/setup.sh b/setup.sh
index 3e39d40..7c7a9f4 100755
--- a/setup.sh
+++ b/setup.sh
@@ -64,6 +64,8 @@ configure_firewall() {
ufw limit 22/tcp
}
+enable_firewall() { ufw enable; }
+
configure_user() {
echo "== User =="
mkdir -p /home/git
@@ -88,7 +90,7 @@ update() {
cmd="$1"; shift;
case "$cmd" in
- update|start|startfg|stop|services|core|cache_clear) "$cmd" "$@" ;;
+ update|start|startfg|stop|services|core|cache_clear|enable_firewall) "$cmd" "$@" ;;
configure|configure_firewall|configure_user|configure_fs|configure_packages|configure_git) "$cmd" "$@" ;;
*) echo "Invalid command: $cmd"; exit 1 ;;
esac