summaryrefslogtreecommitdiffstats
path: root/main/scstadmin/scst-init-ash-comapt.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/scstadmin/scst-init-ash-comapt.patch')
-rw-r--r--main/scstadmin/scst-init-ash-comapt.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/main/scstadmin/scst-init-ash-comapt.patch b/main/scstadmin/scst-init-ash-comapt.patch
deleted file mode 100644
index 67cd7adf1..000000000
--- a/main/scstadmin/scst-init-ash-comapt.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- scstadmin/init.d/scst.gentoo
-+++ scstadmin/init.d/scst.gentoo
-@@ -12,13 +12,11 @@
- # Note: on most Linux distributions /bin/sh is a soft link to /bin/bash, while
- # on a default Ubuntu setup /bin/sh is a soft link to /bin/dash !
-
--opts="${opts} try-restart reload force-reload"
-+opts="${opts} try_restart reload force_reload"
- depend() {
- use logger
- }
-
--PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin
--
- DEFAULTFILE="/etc/conf.d/scst"
- SCST_CFG=/etc/scst.conf
- MODPROBE="/sbin/modprobe"
-@@ -121,7 +119,7 @@
- start
- }
-
--try-restart() {
-+try_restart() {
- ## Restart the service if the service is already running.
- status >/dev/null 2>&1 && restart
- }
-@@ -140,7 +138,7 @@
- fi
- }
-
--force-reload() {
-+force_reload() {
- ## Cause the configuration to be reloaded if the service supports this,
- ## otherwise restart the service if it is running.
- einfo "Reloading SCST configuration"