PN: alsa-state
PV: 0.2.0
PR: r5
PKGV: 0.2.0
PKGR: r5.0
LICENSE: MIT
DESCRIPTION: Alsa Scenario Files - an init script and state files to restore sound state at system boot and save it at system shut down.
SUMMARY: Alsa scenario files to enable alsa state restoration
RDEPENDS:alsa-state: alsa-utils-alsactl initd-functions
RRECOMMENDS:alsa-state: alsa-states update-rc.d
SECTION: base
PKG:alsa-state: alsa-state
FILES:alsa-state: /etc/init.d /etc/asound.conf
CONFFILES:alsa-state: /etc/asound.conf
FILES_INFO:alsa-state: {"/etc/asound.conf": 32, "/etc/init.d/alsa-state": 811}
pkg_postinst:alsa-state: set -e\n\tif test -z "$D"\n\tthen\n\t\tif test -x /usr/sbin/alsactl\n\t\tthen\n\t\t\t/usr/sbin/alsactl -g -f /var/lib/alsa/asound.state restore\n\t\tfi\n\tfi\nif true && type update-rc.d >/dev/null 2>/dev/null; then\n\tif [ -n "$D" ]; then\n\t\tOPT="-r $D"\n\telse\n\t\tOPT="-s"\n\tfi\n\tupdate-rc.d $OPT alsa-state start 39 S . stop 31 0 6 .\nfi\n
pkg_postrm:alsa-state: #!/bin/sh\nset -e\nif true && type update-rc.d >/dev/null 2>/dev/null; then\n\tif [ -n "$D" ]; then\n\t\tOPT="-f -r $D"\n\telse\n\t\tOPT="-f"\n\tfi\n\tupdate-rc.d $OPT alsa-state remove\nfi\n
pkg_prerm:alsa-state: #!/bin/sh\nset -e\nif true && [ -z "$D" -a -x "/etc/init.d/alsa-state" ]; then\n\t/etc/init.d/alsa-state stop || :\nfi\n
FILERDEPENDSFLIST:alsa-state: /etc/init.d/alsa-state
FILERDEPENDS:/etc/init.d/alsa-state:alsa-state:  /bin/sh
PKGSIZE:alsa-state: 843
