LFS Bootscripts

Randy McMurchy LFS-User at mcmurchy.com
Sun Aug 7 21:39:22 PDT 2005


DJ Lucas wrote these words on 08/07/05 23:22 CST:

> Randy, my functions are heavily modified ATM.  To make sure that this is
> not a different issue, can you run the same test and post back? It
> doesn't matter which script, just use one that is running.

Here is what I inserted:

        status)
#               statusproc /usr/sbin/xinetd
                echo "PID of current script is $$"
                echo "Parent PID is $PPID"
                echo "This is the statusproc of xinetd"
                statusproc xinetd
                echo "This is the statusproc of /usr/sbin/xinetd"
                statusproc /usr/sbin/xinetd
                ;;

And here is what is returned:

root at rmlinux: /etc/rc.d/init.d > ./xinetd status
PID of current script is 19030
Parent PID is 18990
This is the statusproc of xinetd
xinetd is running with Process ID(s) 19033 10799.
This is the statusproc of /usr/sbin/xinetd
xinetd is running with Process ID(s) 10799.


root at rmlinux: /etc/rc.d/init.d > ./xinetd status
PID of current script is 19037
Parent PID is 18990
This is the statusproc of xinetd
xinetd is running with Process ID(s) 19040 10799.
This is the statusproc of /usr/sbin/xinetd
xinetd is running with Process ID(s) 10799.


-- 
Randy

rmlscsi: [GNU ld version 2.15.94.0.2 20041220] [gcc (GCC) 3.4.3]
[GNU C Library stable release version 2.3.4] [Linux 2.6.10 i686]
23:36:01 up 127 days, 23:09, 5 users, load average: 0.01, 0.13, 0.36



More information about the lfs-dev mailing list