Remove init
This commit is contained in:
parent
e3ad0fd333
commit
55cd38c86a
1 changed files with 1 additions and 11 deletions
12
bin/portzap
12
bin/portzap
|
@ -26,17 +26,7 @@ exit_on_missing_deps() {
|
||||||
##
|
##
|
||||||
# Commands
|
# Commands
|
||||||
help() {
|
help() {
|
||||||
echo "Usage: portzap init|clone|pull|install"
|
echo "Usage: portzap 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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
clone() {
|
clone() {
|
||||||
|
|
Loading…
Reference in a new issue