David Scowcroft writes ("Bug#1906: inittab(5) error"):
> (1) Update inittab(5), then hack the power daemon to write to
> /var/log/powerstatus rather than /etc/powerstatus
Surely this file ought to be in /var/run ? It's more like a pid file;
it'
Package: sysvinit
Version: 2.57b
Debian: 0.93
Kernel: 1.2.13
libc:4.6.27
The man page for inittab(5) specifies that init looks at the file
/etc/powerstatus to determine why init received a SIGPWR (either FAIL if
a UPS signals a power outage or OK if a UPS signals that power is back).
Hence,
2 matches
Mail list logo