diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-05-03 21:08:42 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-05-03 21:08:42 +0400 |
commit | 1058def8e7827e56ce4a70afb4aeacb5dc44148f (patch) | |
tree | 4495d23e7b54ab5700e3839081e797c1eafe0db9 /setup/Linux/preinst | |
download | oss4-upstream.tar.gz |
Imported Upstream version 4.2-build2006upstream/4.2-build2006upstream
Diffstat (limited to 'setup/Linux/preinst')
-rw-r--r-- | setup/Linux/preinst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/setup/Linux/preinst b/setup/Linux/preinst new file mode 100644 index 0000000..ae93962 --- /dev/null +++ b/setup/Linux/preinst @@ -0,0 +1,6 @@ +#!/bin/sh +if [ -x /etc/init.d/alsa-utils ]; then /etc/init.d/alsa-utils stop || true; fi +if [ -x /usr/sbin/alsa ]; then /usr/sbin/alsa force-unload || true; fi +if [ -x /etc/init.d/alsa ]; then /etc/init.d/alsa force-unload || true; fi +touch /tmp/OSS_UPGRADE +exit 0 |