fix setup scripts
This commit is contained in:
parent
2eb56fbf1a
commit
b68f4b603d
2 changed files with 9 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
*.tar
|
||||
*.tar.gz
|
||||
.idea
|
12
man
12
man
|
@ -72,11 +72,11 @@ handleFallthrough() {
|
|||
setup:*|s:*)
|
||||
WHAT=`echo $cmd | cut -c8-`
|
||||
case $WHAT in
|
||||
ports) sudo setup-ports.sh up ;;
|
||||
def) sudo setup.sh ;;
|
||||
ports) sudo ./utils/setup-ports.sh up ./utils/rulelist.rules ;;
|
||||
def) sudo ./utils/setup.sh ;;
|
||||
all|a)
|
||||
sudo setup.sh
|
||||
sudo setup-ports.sh up
|
||||
sudo ./utils/setup.sh
|
||||
sudo ./utils/setup-ports.sh up ./utils/rulelist.rules
|
||||
;;
|
||||
*) fatal "not supported" ;;
|
||||
esac
|
||||
|
@ -115,7 +115,9 @@ handleFallthrough() {
|
|||
_hr "Commands" " " " "
|
||||
_hr
|
||||
_r "dpf" "Delete project files." "delete-project-files <name>"
|
||||
_r "setup" "Run setup script." "sh ./utils/setup.sh"
|
||||
_r "setup:ports" "Setup ports." "setup:ports"
|
||||
_r "setup:def" "Setup default." "setup:def"
|
||||
_r "setup:all" "Setup all." "setup:all"
|
||||
_r "make:dc <name>" "Make docker-compose file." "make:docker-compose <name>"
|
||||
_r "make:backup <name>" "Make backup file." "tar cvf <name>.tar.gz /srv"
|
||||
_hr
|
||||
|
|
Reference in a new issue