mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-22 16:31:07 +00:00
30 lines
636 B
Plaintext
30 lines
636 B
Plaintext
|
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
|