smartmontools/smartmontools-5.42.1-init-openmamba.patch

13 lines
726 B
Diff
Raw Permalink Normal View History

diff -Nru smartmontools-5.42.orig/smartd.initd.in smartmontools-5.42/smartd.initd.in
--- smartmontools-5.42.orig/smartd.initd.in 2011-06-06 21:25:36.000000000 +0200
+++ smartmontools-5.42/smartd.initd.in 2012-04-02 17:57:19.000000000 +0200
@@ -50,7 +50,7 @@
}
# Red Hat or Yellow Dog or Mandrake
-if [ -f /etc/redhat-release -o -f /etc/yellowdog-release -o -f /etc/mandrake-release -o -f /etc/whitebox-release -o -f /etc/trustix-release -o -f /etc/tinysofa-release ] ; then
+if [ -f /etc/openmamba-release -o -f /etc/yellowdog-release -o -f /etc/mandrake-release -o -f /etc/whitebox-release -o -f /etc/trustix-release -o -f /etc/tinysofa-release ] ; then
# Source function library
. /etc/rc.d/init.d/functions