Lines Matching refs:etc
39 located in /etc/default/laptop-mode on Debian-based systems, or in
40 /etc/sysconfig/laptop-mode on other systems.
65 wrong options -- or it will fail because it cannot write to /etc/mtab.
117 The laptop mode configuration file is located in /etc/default/laptop-mode on
118 Debian-based systems, or in /etc/sysconfig/laptop-mode on other systems. It
233 It should be installed as /etc/default/laptop-mode on Debian, and as
234 /etc/sysconfig/laptop-mode on Red Hat, SUSE, Mandrake, and other work-alikes.
341 if [ -f /etc/default/laptop-mode ] ; then
343 . /etc/default/laptop-mode
344 elif [ -f /etc/sysconfig/laptop-mode ] ; then
346 . /etc/sysconfig/laptop-mode
481 FSTAB_OPTS="$(awk '$1 == "'$L_DEV'" { print $4 }' /etc/fstab)"
515 FSTAB_OPTS="$(awk '$1 == "'$L_DEV'" { print $4 }' /etc/fstab)"
531 # type "unknown" in /etc/mtab. If we encounter
533 cat /etc/fstab |
593 cat /etc/mtab | while read DEV MP FST OPTS DUMP PASS ; do
653 cat /etc/mtab | while read DEV MP FST OPTS DUMP PASS ; do
704 -----------------/etc/acpi/events/ac_adapter BEGIN------------------------------
706 action=/etc/acpi/actions/ac.sh %e
707 ----------------/etc/acpi/events/ac_adapter END---------------------------------
710 -----------------/etc/acpi/events/battery BEGIN---------------------------------
712 action=/etc/acpi/actions/battery.sh %e
713 ----------------/etc/acpi/events/battery END------------------------------------
716 ----------------/etc/acpi/actions/ac.sh BEGIN-----------------------------------
733 ---------------------------/etc/acpi/actions/ac.sh END--------------------------
736 ---------------------------/etc/acpi/actions/battery.sh BEGIN-------------------
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 …
775 ---------------------------/etc/acpi/actions/battery.sh END--------------------