runit.sh update
Signed-off-by: philippe lhardy <philippe.lhardy@astrolabe.coop>
This commit is contained in:
@@ -8,6 +8,10 @@ toolsdir=$(pwd)
|
||||
source metascript.sh
|
||||
popd >/dev/null
|
||||
|
||||
usage() {
|
||||
cat runit.README.md
|
||||
}
|
||||
|
||||
while [[ $# > 0 ]]
|
||||
do
|
||||
case "$1" in
|
||||
@@ -21,6 +25,13 @@ do
|
||||
shift
|
||||
done
|
||||
|
||||
if [[ -z $action ]]
|
||||
then
|
||||
log_warn "Missing arguments"
|
||||
|
||||
usage
|
||||
exit 0
|
||||
fi
|
||||
metarun=metarun
|
||||
metasudo=sudo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user