#!/bin/sh
# modprobe post-install script for alsa

udev_is_active()
{
	# The udev maintainer, Marco d'Itri, says in #273436 that
	# "test -e /dev/.udev.tdb" is the right way to tell whether
	# or not udev is in use.
	test -e /dev/.udev.tdb
}

if udev_is_active ; then
	# Stuff needs to be done in a udev hook script instead
	exit 0
fi

alsactl restore
