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
|
2021-07-07 17:31:08 +00:00
|
|
|
|
pushd $sapath
|
2021-04-15 20:44:05 +00:00
|
|
|
|
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
|