/etc/init/alsa-state.conf is in alsa-utils 1.0.27.2-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | # alsa-state - Manage Sound Card State (restore and store)
#
# This task launches the alsactl daemon to manage sound
# card state (restore and store).
description "Restore Sound Card State"
start on runlevel [2345]
env ALSACTLHOME=/var/run/alsa
expect fork
pre-start script
if ! test -d $ALSACTLHOME ; then
mkdir -p $ALSACTLHOME
fi
if ! test -f /var/lib/alsa/state-daemon.conf ; then
stop; exit 0
fi
end script
exec /usr/sbin/alsactl -E HOME="$ALSACTLHOME" -s -n 19 -b -c rdaemon
pre-stop script
/usr/sbin/alsactl -E HOME="$ALSACTLHOME" -s kill save_and_quit
end script
|