Lines Matching full: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.
119 The laptop mode configuration file is located in /etc/default/laptop-mode on
120 Debian-based systems, or in /etc/sysconfig/laptop-mode on other systems. It
235 It should be installed as /etc/default/laptop-mode on Debian, and as
236 /etc/sysconfig/laptop-mode on Red Hat, SUSE, Mandrake, and other work-alikes.
343 if [ -f /etc/default/laptop-mode ] ; then
345 . /etc/default/laptop-mode
346 elif [ -f /etc/sysconfig/laptop-mode ] ; then
348 . /etc/sysconfig/laptop-mode
483 FSTAB_OPTS="$(awk '$1 == "'$L_DEV'" { print $4 }' /etc/fstab)"
517 FSTAB_OPTS="$(awk '$1 == "'$L_DEV'" { print $4 }' /etc/fstab)"
533 # type "unknown" in /etc/mtab. If we encounter
535 cat /etc/fstab |
595 cat /etc/mtab | while read DEV MP FST OPTS DUMP PASS ; do
655 cat /etc/mtab | while read DEV MP FST OPTS DUMP PASS ; do
705 /etc/acpi/events/ac_adapter::
708 action=/etc/acpi/actions/ac.sh %e
710 /etc/acpi/events/battery::
713 action=/etc/acpi/actions/battery.sh %e
715 /etc/acpi/actions/ac.sh::
735 /etc/acpi/actions/battery.sh::
751 if [ -f /etc/default/laptop-mode ] ; then
753 . /etc/default/laptop-mode
754 elif [ -f /etc/sysconfig/laptop-mode ] ; then
756 . /etc/sysconfig/laptop-mode
771 …ns out. Check kernel ACPI support and /proc/acpi/battery folder, and edit /etc/acpi/battery.sh to …