SUSE 10.0 startup patch

If you've made a patch to quick fix a bug or to add a new feature not yet in the main tree then post it here so others can try it out.
Post Reply
aleque
Posts: 1
Joined: Tue Sep 19, 2006 11:21 pm

SUSE 10.0 startup patch

Post by aleque »

Hope this can be of use: I patched mine because it failed starting the daemon.

=== file: /etc/rc.d/zm ===

#!/bin/sh

### BEGIN INIT INFO
# Provides: zm
# Default-Start: 5
# Default-Stop: 5
# Short-Description: Zoneminder
# Description: Zoneminder as a service
### END INIT INFO

# Source function library.
#AQ#. /etc/rc.d/init.d/functions

prog=ZoneMinder
ZM_VERSION="1.22.2"
ZM_PATH_BIN="/usr/local/bin"
ZM_CONFIG="/usr/local/etc/zm.conf"
command="$ZM_PATH_BIN/zmpkg.pl"


/bin/sleep 10


# start of loadconf function (no more modifications)

==================

Cheers!

Ale
Post Reply