[-]
[+]
|
Changed |
smartmontools-stresslinux-init-script.patch
|
@@ -1,23 +1,11 @@
---- smartd.initd.in.orig 2009-08-01 13:12:01.000000000 +0200
-+++ smartd.initd.in 2009-08-01 13:12:34.000000000 +0200
-@@ -13,10 +13,9 @@
- ### BEGIN INIT INFO
- # Provides: smartd
- # Required-Start: $syslog
--# X-UnitedLinux-Should-Start: $sendmail
- # Should-Start: $sendmail
- # Required-Stop: $syslog
--# X-UnitedLinux-Should-Stop:
-+# Should-Stop: $null
- # Default-Start: 2 3 5
- # Default-Stop:
- # Short-Description: Monitors disk and tape health via S.M.A.R.T.
-@@ -135,7 +134,7 @@
- exit 0
-
+--- smartd.initd.in.orig 2011-07-30 22:44:59.598478819 +0200
++++ smartd.initd.in 2011-07-30 22:45:40.586475826 +0200
+@@ -209,7 +209,7 @@
+ exit $RETVAL
+
# SuSE
-elif [ -f /etc/SuSE-release ] ; then
+elif [ -f /etc/SuSE-release -o -f /etc/stresslinux-release ] ; then
test -x $SMARTD_BIN || exit 5
-
+
# Existence of config file is optional
|