A2osX/BIN/ADM.txt

30 lines
636 B
Plaintext
Raw Normal View History

2021-07-24 15:32:29 +00:00
NEW
PREFIX
AUTO 4,1
#!/bin/sh
#
# This is the Main ADM script
# It is used to call all other A2osX Domain Manager (ADM) scripts
#
# Check to make sure SysAdmin is installed
set sapath = ${BOOT}usr/share/adm/
if ![ -D ${sapath} ]
echo "\nA2osX Domain Manager support files not installed"
echo "Please update your A2osX installation\n"
exit
fi
if [ $# = 0 ]
echo "\nNo Command or Argument specified"
echo "try \e[7mhelp adm\e[0m or \e[7madm commands\e[0m\n"
exit
fi
pushd $sapath
if [ -f $1 ]
$1 $2 $3 $4 $5 $6 $7 $8 $9
else
echo sysadm $1 command not found
fi
popd
MAN
TEXT BIN/adm