could u create a separated file as initd.suse?
ming
On Thu, 2006-02-23 at 17:34 +0100, Gerd Pokorra wrote:
> Hello!
>
> I insert the following lines in the file etc/initd/initd and call it
> initd.suse:
> #!/bin/sh
> #
> # /etc/init.d/iscsi-target
> #
> ### BEGIN INIT INFO
> # Provides: ietd
> # Required-Start: $network
> # Required-Stop:
> # Default-Start: 3 5
> # Default-Stop:
> # Description: Start the iSCSI Enterprise Target.
> ### END INIT INFO
>
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> MEM_SIZE=1048576
>
>
> This startscript is now suse-specific.
>
> That if will be installed with "make install" I at this two lines after
> line 36 in the Makefile:
> elif [ -f /etc/SuSE-release ]; then \
> install -vD -m 755 etc/initd/initd.suse
> $(DISTDIR)/etc/init.d/iscsi-target; \
>
> It is tested on SuSE Linux Enterprice Server 9. Perhaps you will add
> this.
>
> Gerd Pokorra
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Iscsitarget-devel mailing list
> Iscsitarget-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/iscsitarget-devel
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
|