[feature] add dryrun option
This commit is contained in:
parent
b3b3a0efba
commit
8f4a530917
|
@ -120,9 +120,15 @@ restart() {
|
|||
$FP loop &
|
||||
}
|
||||
|
||||
if [ "$1" = "loop" ]; then
|
||||
start
|
||||
else
|
||||
restart
|
||||
fi
|
||||
case "$1" in
|
||||
loop)
|
||||
start
|
||||
;;
|
||||
dryrun)
|
||||
statusbar
|
||||
;;
|
||||
*)
|
||||
restart
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user