PREIN
/bin/sh
# (cg) When first installed/upgraded add the state-daemon config file. if [ ! -r /usr/lib/systemd/system/alsa-state.service ]; then if [ ! -d /etc/alsa ]; then mkdir -m 0755 /etc/alsa fi echo "# Remove this file to disable the alsactl daemon mode" > /etc/alsa/state-daemon.conf fi
POSTIN
/bin/sh
if [ -s /etc/asound.state -a ! -s /var/lib/alsa/asound.state ] ; then mv /etc/asound.state /var/lib/alsa/asound.state fi