blob: 166f3a987deb975de44bae3afabfe06c4ef7ed51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
if [ ! -e @appconfdir@/mach-config-vars ]; then
. @appconfdir@/scripts/detect-machine
if [ -z $MACHINE ]; then
echo "Error: Can't identify this machine"
exit 1
fi
ln -s @appconfdir@/mach-config/mach-$MACHINE-vars @appconfdir@/mach-config-vars
ln -s @appconfdir@/mach-config/mach-$MACHINE-functions @appconfdir@/mach-config-funcs
fi
. @appconfdir@/mach-config-vars
. @appconfdir@/mach-config-funcs
if [ "x$HAVE_ALSA_MIXER" != "x" -a "x$ALSA_MIXER_INIT" != "x" ]; then
if [ ! -e /etc/asound.state ]; then
cp $ALSA_MIXER_INIT /etc/asound.state
@sbindir@/alsactl restore
fi
fi
export SWITCHEVD_EVENT_SCRIPT=@appconfdir@/scripts/switch-event
|