File suse-backuppc.patch of Package backuppc

--- suse-backuppc	2015-01-12 01:19:53.000000000 +0100
+++ suse-backuppc	2015-05-19 10:41:57.079318857 +0200
@@ -6,7 +6,24 @@
 #
 # Distributed with BackupPC version 3.3.1, released 11 Jan 2015.
 #
-
+# 2015-05-19 patched to fulfill LSB req.
+#
+# init.d/backuppc
+#
+#   and symbolic its link
+#
+# /sbin/rcbackuppc
+#
+# System startup script for the BackupPC server daemon
+#
+### BEGIN INIT INFO
+# Provides: backuppc
+# Required-Start: $syslog
+# Required-Stop:  $syslog
+# Default-Start:  3 5
+# Default-Stop:   0 1 2 6
+# Description:    Start the backuppc server daemon
+### END INIT INFO
 set -e
 
 #
@@ -46,6 +62,11 @@
     start-stop-daemon --stop --pidfile $LOGDIR/BackupPC.pid \
 			    --signal 1 -x /usr/bin/perl
     ;;
+  status)
+    echo -n "Checking for $NAME daemon: "
+    checkproc -p $BACKUPPCD_PID $BACKUPPCD_BIN
+    rc_status -v
+    ;;
   *)
     echo "Usage: /etc/init.d/$NAME {start|stop|restart|reload}"
     exit 1

 
openSUSE Build Service is sponsored by