Update of /cvsroot/devil-linux/build/docs/documentation/sample
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22658/documentation/sample
Modified Files:
ez-ipupdate
Log Message:
some documentation updates for new release
Index: ez-ipupdate
===================================================================
RCS file: /cvsroot/devil-linux/build/docs/documentation/sample/ez-ipupdate,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- ez-ipupdate 15 Nov 2003 15:26:02 -0000 1.15
+++ ez-ipupdate 15 Apr 2004 23:58:35 -0000 1.16
@@ -4,12 +4,23 @@
# $Date$
# http://www.devil-linux.org
+# you need the next line, otherwise script won't be executed !!!
+# DL-build-system v3
+
+### BEGIN INIT INFO
+# Provides: ez-ipupdate
+# Required-Start: $basebuildtools $libs
+# Required-Stop:
+# Default-Start: 1 2
+# Default-Stop:
+# Description: description
+### END INIT INFO
+
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
-source $MYDIR/functions
MYNAME=EZ_IPUPDATE
@@ -33,6 +44,13 @@
cp -dpR example*.conf $ETCDIR/etc/ez-ipupdate || exit 1
chmod 600 $ETCDIR/etc/ez-ipupdate/* || exit 1
rm -rf $WORKDIR/tmp || exit 1
+
+ cp $MYDIR/scripts/ez-ipupdate $ETCDIR/etc/init.d || exit 1
+
+ echo "# start the ez-ipupdate?" >> $CONFIGFILE
+ echo "START_$MYNAME=no" >> $CONFIGFILE
+ echo >> $CONFIGFILE
+ echo "HELP_$MYNAME=\"$MYNAME is a client for DDNS services.\"" >> $SOFTWAREHELP
fi
;;
|