A2osX/ADMIN/adm.txt

30 lines
652 B
Plaintext
Raw Normal View History

2021-04-15 20:44:05 +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
pushp $sapath
if [ -f $1 ]
$1 $2 $3 $4 $5 $6 $7 $8 $9
else
echo sysadm $1 command not found
fi
popd
MAN
TEXT /MAKE/usr/share/adm/adm