From: C'est Pierre (cestpierre_at_gmail.com)
Date: Tue Jan 02 2007 - 20:26:18 CET
Message-ID: <5485940d0701021126j4289d638j2008ef52d831dde1@mail.gmail.com> Date: Tue, 2 Jan 2007 19:26:18 +0000 From: "C'est Pierre" <cestpierre@gmail.com> Subject: Re: [suse-sles-e] chkconfig boot.local always returns off
On 1/2/07, Manfred Hollstein <manfred@die-hollsteins.de> wrote:
>
> Hi there,
>
> On Tue, 02 Jan 2007, 16:33:15 +0100, C'est Pierre wrote:
> > Hello all,
> >
> > I'm having this issue, I wrote a few "post-boot" lines on boot.local and
> did
> > a "chkconfig boot.local on", however, it never gets on.
> >
> > See, for example:
> >
> > # chkconfig boot.local
> > boot.local off
> > # chkconfig boot.local on
> > # chkconfig boot.local
> > boot.local off
> >
> > Any ideas how to correct this?
>
> No need to worry. boot.local is independant of the chkconfig/insserv
> machinery. This is an excerpt from /etc/init.d/boot (on my SLES 10
> system):
>
> #
> # Start user defined bootup script.
> #
> if test -f /etc/init.d/boot.local ; then
> echo -n "System Boot Control: "
> echo "Running /etc/init.d/boot.local"
> /bin/sh /etc/init.d/boot.local
> rc_status -v1 -r
> splashtrigger "boot.local"
> fi
>
> So, if you watched the output during the boot of your system, you should
> have seen something like:
>
> Running /etc/init.d/boot.local
>
> FWIW, there's also a lot of detailed information about the boot process
> in /etc/init.d/README .
>
> > Thanks,
>
> HTH, cheers.
>
> l8er
> manfred
>
Thank you all,
I get it, however, my script looks like this:
/bin/mount -a
echo 1 > /proc/sys/vm/disable_cap_mlock # (Yes, I know I could do this from
/etc/sysctl.conf ;-)
But none of the NFS filesystems get mounted during boot.
Any ideas why?
The server runs at run-level 3, BTW.
Thanks
This archive was generated by hypermail 2.1.7 : Tue Jan 02 2007 - 22:30:08 CET