A2osX/ADMIN/ADMINMENU.txt

80 lines
1.8 KiB
Plaintext
Raw Normal View History

NEW
PREFIX
AUTO 4,1
#!/BIN/SH
#
# This menu will display a menu of options
# for the Administration of your A2osX system.
#
SET MENULOOP = 1
WHILE [ $MENULOOP -EQ 1 ]
ECHO "\f A2osX Admin System Menu\n"
ECHO " 1) Display Processes (PS)"
ECHO " 2) Display Memory (MEM)"
ECHO " 3) Configure Networking (CONFNET)"
ECHO " 4) Kernel Configuration (KCONFIG)"
ECHO " 5) List Volumes Online (ONLINE)"
ECHO " 6) User Management (USERMENU)"
ECHO " 7) "
ECHO " 8) "
ECHO " 9) A2osX Test Suite"
ECHO "\n 0) Exit"
ECHO "\n"
READ -P "Enter Choice: " Z
IF [ $Z = "1" ]
echo "\f A2osx Process Listing\n"
PS
ECHO "\nPress Return to redisplay menu"
PAUSE
ELSE
IF [ $Z = "2" ]
echo "\f A2osx Memory Listing\n"
MEM
ECHO "\nPress Return to redisplay menu"
PAUSE
ELSE
IF [ $Z = "3" ]
CONFNET
ELSE
IF [ $Z = "4" ]
KCONFIG
ELSE
IF [ $Z = "5" ]
echo "\f Online Volume Listing\n"
LS -L /
ECHO "\nPress Return to redisplay menu"
PAUSE
ELSE
2019-03-03 02:15:17 +00:00
IF [ $Z = "6" ]
USERMENU
2019-03-03 02:15:17 +00:00
ELSE
IF [ $Z = "7" ]
ELSE
IF [ $Z = "8" ]
ELSE
IF [ $Z = "9" ]
PUSHD
CD ../TESTS
TESTMENU
POPD
ELSE
IF [ $Z = "0" ]
SET MENULOOP = 0
ELSE
ECHO "\n\nInvalid Selection\n"
2019-03-03 02:15:17 +00:00
FI
FI
FI
FI
FI
FI
FI
FI
FI
FI
LOOP
ECHO
ECHO
MAN
TEXT /MAKE/USR/SHARE/ADMIN/ADMINMENU