2 # Copyright 2009 Nicolas Bigaouette
3 # This file is part of acpi-eeepc-generic.
4 # http://code.google.com/p/acpi-eeepc-generic/
6 # acpi-eeepc-generic is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation, either version 3 of the License, or
9 # (at your option) any later version.
11 # acpi-eeepc-generic is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with acpi-eeepc-generic. If not, see <http://www.gnu.org/licenses/>.
19 .
/etc
/acpi
/eeepc
/acpi-eeepc-generic-functions.sh
21 # Make sure we run as root
22 if [[ $EUID -ne 0 ]]; then
23 me
="`dirname $0`/`basename $0`"
28 ### Information for bluetooth ###################################
29 DRIVERS
=("${BLUETOOTH_DRIVERS[@]}")
31 NAME_SMALL
="bluetooth"
34 COMMANDS_PRE_UP
="${COMMANDS_BT_PRE_UP[@]}"
35 COMMANDS_PRE_DOWN
="${COMMANDS_BT_PRE_DOWN[@]}"
36 COMMANDS_POST_UP
="${COMMANDS_BT_POST_UP[@]}"
37 COMMANDS_POST_DOWN
="${COMMANDS_BT_POST_DOWN[@]}"
39 ### Load saved state from file ##################################
42 ### Check rfkill switch #########################################
45 ### Check /sys interface
48 ### Detect if card is enabled or disabled #######################
51 #################################################################
70 ### End of file #################################################