Introductory material on LIDS states and ACL types can be found in the Quick Start.
It is a good idea to switch states automatically after the boot sequence finishes, and before shutting down the system, by creating a suitable init script
#!/bin/sh
case "$1" in
start) /sbin/lidsadm -I
stop) /sbin/lidsadm -S -- +SHUTDOWN
*) echo "Usage: $0 start" >&2; exit 1 ;;
esac
exit 0;
and sym-linking this appropriately, e.g.,
/etc/rc2.d/S99lidsinit
/etc/rc0.d/K01lidsinit
for Debian, or
/etc/rc3.d/S99lidsinit
/etc/rc5.d/S99lidsinit
/etc/rc0.d/K01lidsinit
for RedHat.
| ...previous | up (conts) | next... |