I have an old laptop that I'd like use as a web server; however, it likes to sleep/hibernate when the lid is closed. Can I edit /etc/sysctl.conf so the laptop will stay awake 24/7?
# Lid: Lid state (0 is closed, 1 is open)
gconftool-2 -s --type string /apps/gnome-power-manager/buttons/lid_ac nothing
[root@ /etc]# sysctl hw.acpi.lid_switch_state
hw.acpi.lid_switch_state: NONE
Aaron_VanAlstine said:Well, looks like it already is.
Code:[root@ /etc]# sysctl hw.acpi.lid_switch_state hw.acpi.lid_switch_state: NONE