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