Lines Matching refs:etc
41 located in /etc/default/laptop-mode on Debian-based systems, or in
42 /etc/sysconfig/laptop-mode on other systems.
67 wrong options -- or it will fail because it cannot write to /etc/mtab.
108 The laptop mode configuration file is located in /etc/default/laptop-mode on
109 Debian-based systems, or in /etc/sysconfig/laptop-mode on other systems. It
224 It should be installed as /etc/default/laptop-mode on Debian, and as
225 /etc/sysconfig/laptop-mode on Red Hat, SUSE, Mandrake, and other work-alikes.
332 if [ -f /etc/default/laptop-mode ] ; then
334 . /etc/default/laptop-mode
335 elif [ -f /etc/sysconfig/laptop-mode ] ; then
337 . /etc/sysconfig/laptop-mode
472 FSTAB_OPTS="$(awk '$1 == "'$L_DEV'" { print $4 }' /etc/fstab)"
506 FSTAB_OPTS="$(awk '$1 == "'$L_DEV'" { print $4 }' /etc/fstab)"
522 # type "unknown" in /etc/mtab. If we encounter
524 cat /etc/fstab |
584 cat /etc/mtab | while read DEV MP FST OPTS DUMP PASS ; do
644 cat /etc/mtab | while read DEV MP FST OPTS DUMP PASS ; do
694 /etc/acpi/events/ac_adapter::
697 action=/etc/acpi/actions/ac.sh %e
699 /etc/acpi/events/battery::
702 action=/etc/acpi/actions/battery.sh %e
704 /etc/acpi/actions/ac.sh::
724 /etc/acpi/actions/battery.sh::
740 if [ -f /etc/default/laptop-mode ] ; then
742 . /etc/default/laptop-mode
743 elif [ -f /etc/sysconfig/laptop-mode ] ; then
745 . /etc/sysconfig/laptop-mode
760 …ns out. Check kernel ACPI support and /proc/acpi/battery folder, and edit /etc/acpi/battery.sh to …