/etc/init.d/functions is missing.
How / where to grab it ?
Thanks.
Bye,
Bruno
--
Linux Counter #353844
http://counter.li.org/
----------------------------------------------------------------
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20100723192957....@webmail.costacurta.org
http://openskill.info/infobox.php?ID=1081
Mandrake
/etc/init.d/rc.sysinit Large script, launched directly by init, that sets and
executes all the system initialization functions. It sources configuration
files in /etc/sysconfig/*) where user (and configuration tools) define
various system settings
/etc/init.d/functions General purpose functions used by every system script
--
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/201007231442...@pcartwright.com
Functions in it have rough equivalents in start-stop-daemon and friends.
You'll probably need to change the script. Look at other scripts under
/etc/init.d , and specifically /etc/init.d/skeleton .
--
Tzafrir Cohen | tza...@jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tza...@cohens.org.il | | best
tza...@debian.org | | friend
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20100723203...@pear.tzafrir.org.il
/etc/init.d/functions is a Red Hat developed script for SYSVR4 init on
GNU/Linux. It has carried on to other systems that use RPM as their
package backend.
If you want the Debian-equivalent (where the correct location _should_
be) check out /lib/lsb/init/functions and /etc/default/rcs. Also, don't
forget the directory configs under /etc/default/[service-name].
But really, /lib/lsb/init-functions in your direct equivalent to
/etc/init.d/functions in the Red Hat world.
Probably the best way to have found the file on your own, would be to
open an /etc/init.d/[service] file, and notice that most, if not all,
are sourcing /lib/lsb/init-functions and /etc/default/rcs.
--
. O . O . O . . O O . . . O .
. . O . O O O . O . O O . . O
O O O . O . . O O O O . O O O