[605] in SIPB_Linux_Development
You might like this
daemon@ATHENA.MIT.EDU (James H. Haynes)
Tue Jun 21 14:24:11 1994
Date: Tue, 21 Jun 1994 11:23:40 -0700 (PDT)
From: "James H. Haynes" <haynes@cats.ucsc.edu>
To: linux-dev@MIT.EDU
We added a box to the Athena login window so the user can reboot the machine
easily. This is for workstations that can boot Linux or DOS from LILO.
The hope is that a naive user wanting to run DOS will see the shutdown
box and not just punch the reset button while Linux is running.
*shutdown.wcClassName: Command
*shutdown.vertDistance: 10
*shutdown.horizDistance: 300
*shutdown.label: Shut Down Workstation (reboot)
*shutdown.fromVert: ooptions
*shutdown.callback: runCB(/bin/athena/restart)
The restart program just constructs a command "/sbin/shutdown -r now"
and executes it. We haven't got around to trying to tell the user to
wait for the machine to reboot before turning off power.