I found the code in the script open-iscsi:

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

What does these codes do ?
What will happen if I delete the code.



2008/12/6 Santi Saez <[EMAIL PROTECTED]>

>
>
> On Thu, 4 Dec 2008 04:01:37 -0800 (PST), [EMAIL PROTECTED] wrote:
>
> > but when I input the command
> > ./open-iscsi start
> >
> > it reports errors:
> >
> > ;line 11: can't open /etc/init.d/functions
>
> What Linux flavour are you using? Perhaps it's a Linux From Scratch system?
>
> If it's a Red Hat based distro, you must install "initscripts" package:
>
> # rpm -q --whatprovides /etc/init.d/functions
> initscripts-8.45.19.EL-1.el5.centos.1
>
> In "functions" file there are general purpose functions for start/stop init
> scripts..
>
> Regards,
>
> --
> Santi Saez
> http://woop.es
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---

Reply via email to