add missing -m flag, order things
This commit is contained in:
parent
e139307f61
commit
a10b911720
10
boxctl.sh
10
boxctl.sh
@ -46,13 +46,13 @@ mv /etc/packages.tmp /etc/packages
|
|||||||
EOF
|
EOF
|
||||||
)
|
)
|
||||||
|
|
||||||
while getopts "h:u:nv" arg; do
|
while getopts "h:mnu:v" arg; do
|
||||||
case $arg in
|
case $arg in
|
||||||
h)
|
h)
|
||||||
SERVER=$OPTARG
|
SERVER=$OPTARG
|
||||||
;;
|
;;
|
||||||
v)
|
m)
|
||||||
VERBOSITY=$((VERBOSITY+1))
|
MAINTENANCE=1
|
||||||
;;
|
;;
|
||||||
n)
|
n)
|
||||||
DRY=1
|
DRY=1
|
||||||
@ -60,8 +60,8 @@ while getopts "h:u:nv" arg; do
|
|||||||
u)
|
u)
|
||||||
RUN_USER=$OPTARG
|
RUN_USER=$OPTARG
|
||||||
;;
|
;;
|
||||||
m)
|
v)
|
||||||
MAINTENANCE=1
|
VERBOSITY=$((VERBOSITY+1))
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user