|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: @ F T
Length: 1380 (0x564)
Types: TextFile
Notes: @(#)Form.reboot 13.6 (RC International) 91/10/09
Names: »Form.reboot«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/sadm/sysadm/menu/machinemgmt/reboot/Form.reboot«
# @(#)Form.reboot 13.6 (RC International) 91/10/09
# @(#)Form.reboot 13.3 (RC International) 91/08/08
#ident "@(#)oamintf:machinemgmt/Form.reboot 1.6"
################################################################################
# Module Name: Form.reboot
################################################################################
form="Reboot the Machine"
`indicator -w`
framemsg=`readfile $INTFBASE/form.msg`
help=OPEN TEXT $INTFBASE/Text.itemhelp reboot
done=` if [ "$F1" != "now" ];
then
set -l FF1="+$F1";
else
set -l FF1="$F1";
fi;
chgstate -r $FF1 \"$F2\"`exit
# F1
name=Number of minutes before global shutdown starts:
lininfo=Form.reboot:reboot
nrow=1
ncol=3
frow=1
fcol=52
rows=1
columns=4
value=const 3
valid=`regex -v $F1 '^[1-9]{1,4}$' $F1 "now"`
invalidmsg=const "Select an integer between 1 and 9999 or \"now\""
fieldmsg=const "Select an integer between 1 and 9999 or \"now\""
# F2
name=message:
lininfo=Form.power:message
nrow=2
ncol=3
frow=2
fcol=12
rows=1
columns=57
value=const "Global reboot initiated from sysadm"
fieldmsg=const "Enter a warning message to be sent to all users logged in"
# Dummy field
name=""
nrow=4
ncol=2
frow=4
fcol=3
rows=2
columns=68
value=const "WARNING: Once started, this procedure CANNOT BE STOPPED!\n Strike SAVE to proceed with reboot and exit sysadm."
inactive
name=RESET
button=8
action=RESET