From 55cd38c86a2ddebb88905bf13e1f6007f6598d24 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Wed, 22 Mar 2023 13:09:13 -0300 Subject: [PATCH] Remove init --- bin/portzap | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/bin/portzap b/bin/portzap index cff3255..597b179 100755 --- a/bin/portzap +++ b/bin/portzap @@ -26,17 +26,7 @@ exit_on_missing_deps() { ## # Commands help() { - echo "Usage: portzap init|clone|pull|install" -} - -init() { - if user_is_not_root; then - echo "The init command should be run as root." - exit 1 - fi; - umask $init_mask - pw userdel _portzap -r - pw useradd _portzap -m -s /sbin/nologin + echo "Usage: portzap clone|pull|install" } clone() {