summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/oss/oss.rm-init-scripts.patch
diff options
context:
space:
mode:
authorNathan Harris <nharris@eoimaging.com>2009-02-18 19:19:39 (GMT)
committerNathan Harris <nharris@eoimaging.com>2009-02-18 19:19:39 (GMT)
commitdefa55e46b886049bd1de0fdd4cc92410b52d280 (patch)
treeba1c03edb5fa41e03cb49839648697d855a4bdf9 /abs/extra-testing/oss/oss.rm-init-scripts.patch
parent416f9c590b6de5de7eeb8eb19b26571626f35a7f (diff)
parent84249e85222f40c8b6855d9822f52d273a3d979f (diff)
downloadlinhes_pkgbuild-defa55e46b886049bd1de0fdd4cc92410b52d280.zip
linhes_pkgbuild-defa55e46b886049bd1de0fdd4cc92410b52d280.tar.gz
linhes_pkgbuild-defa55e46b886049bd1de0fdd4cc92410b52d280.tar.bz2
Merge branch 'master' of nharris@knoppmyth.net:LinHES-PKGBUILD
Diffstat (limited to 'abs/extra-testing/oss/oss.rm-init-scripts.patch')
-rw-r--r--abs/extra-testing/oss/oss.rm-init-scripts.patch52
1 files changed, 52 insertions, 0 deletions
diff --git a/abs/extra-testing/oss/oss.rm-init-scripts.patch b/abs/extra-testing/oss/oss.rm-init-scripts.patch
new file mode 100644
index 0000000..981ff60
--- /dev/null
+++ b/abs/extra-testing/oss/oss.rm-init-scripts.patch
@@ -0,0 +1,52 @@
+--- usr/lib/oss/build/install.sh.orig 2008-09-25 11:41:47.180167692 -0300
++++ usr/lib/oss/build/install.sh 2008-09-25 11:41:47.180167692 -0300
+@@ -290,38 +290,6 @@
+ echo
+ fi
+
+-if ! test -d /etc/init.d
+-then
+- mkdir /etc/init.d
+-fi
+-
+-rm -f /etc/init.d/oss /etc/rc.d/rc3.d/S89oss /etc/rc3.d/S89oss
+-cp -f $OSSLIBDIR/etc/S89oss /etc/init.d/oss
+-
+-chmod 744 /etc/init.d/oss
+-
+-if test -x /sbin/chkconfig
+-then
+- /sbin/chkconfig oss on > /dev/null 2>&1
+-else
+- if test -x /usr/sbin/update-rc.d
+- then
+- /usr/sbin/update-rc.d oss defaults > /dev/null 2>&1
+- else
+- if test -d etc/rc.d/rc3.d
+- then
+- rm -f /etc/rc.d/rc3.d/S89oss
+- ln -s /etc/init.d/oss /etc/rc.d/rc3.d/S89oss
+- else
+- if test -d /etc/rc3.d
+- then
+- rm -f /etc/rc3.d/S89oss
+- ln -s /etc/init.d/oss /etc/rc3.d/S89oss
+- fi
+- fi
+- fi
+-fi
+-
+ # Install ALSA interface module (Cuckoo)
+ #(cd $OSSLIBDIR/cuckoo && make clean) > /dev/null 2>&1
+ #if (cd $OSSLIBDIR/cuckoo && make install) > /var/log/cuckoo.log 2>&1
+--- usr/lib/oss/scripts/restore_drv.sh.orig 2008-09-25 11:41:47.210168487 -0300
++++ usr/lib/oss/scripts/restore_drv.sh 2008-09-25 11:41:47.210168487 -0300
+@@ -18,8 +18,6 @@
+ fi
+ fi
+
+-rm -f /etc/init.d/oss
+-
+ if ! test -d /lib/modules/`uname -r`/kernel/sound
+ then
+ if test -f /lib/modules/`uname -r`/sound-preoss.tar.bz2