poffd(8) - NetBSD Manual Pages

Command: Section: Arch: Collection:  
POFFD(8)              NetBSD/x68k System Manager's Manual             POFFD(8)


NAME
poffd -- x68k shutdown daemon
SYNOPSIS
poffd [shutdown-program]
DESCRIPTION
poffd looks at the power switch of x68k. When the switch is turned off, poffd executes shutdown-program (using /bin/sh -c). If the system is started by x68k's RTC timer, shutdown-program is exe- cuted when the system's shut down time (predefined using other utility, SX-Window Control Panel and rtcalarm(8) for example) arrives. The argument shutdown-program may contain the character `%'. It is sub- stituted with a number which indicates the way how the system was started: 0 Front power switch 1 External (I/O slot) power signal 2 RTC alarm This is useful when choosing the shutdown message. If the argument shutdown-program is omitted, `/sbin/shutdown -r +1' is executed instead.
SEE ALSO
pow(4), rtcalarm(8), shutdown(8)
AUTHORS
poffd was written by MINOURA Makoto <minoura@flab.fujitsu.co.jp>.
SPECIAL THANKS
Liam Hahne Minn <hahne@sail.t.u-tokyo.ac.jp>. NetBSD 5.1 June 29, 1995 NetBSD 5.1
Powered by man-cgi (2024-03-20). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.