public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] startup script in /etc/init.d does not perform the stop part.
  2008-03-31 20:54 [gentoo-user] startup script in /etc/init.d does not perform the stop part David Harel
@ 2008-03-31 20:45 ` Daniel Pielmeier
  2008-04-01  4:50   ` Mark Shields
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Pielmeier @ 2008-03-31 20:45 UTC (permalink / raw
  To: gentoo-user

David Harel schrieb:
> Greetings,
> 
> I added a simple init startup script with dependency "need localmount" 
> The script is added to runlevel "default" using rc-update. The script 
> works fine on boot time but it's stop part doesn't work on system 
> shutdown. Any idea?
> 
> # rc-update -s
>            bootmisc | boot
>             checkfs | boot
>           checkroot | boot
>               clock | boot
>         consolefont | boot
>               cupsd |      default
>            hostname | boot
>             keymaps | boot
>               local |      default nonetwork
>          localmount | boot
>             modules | boot
>            net.eth0 |      default
>              net.lo | boot
>            netmount |      default
>              pcmcia |      default
>           rmnologin | boot
>               samba |      default
>                sshd |      default
>           syslog-ng |      default
>               *train |      default*
>             urandom | boot
>          vixie-cron |      default
>                 xdm |      default
> 

Maybe you should post your script too!

Regards,

Daniel
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-user] startup script in /etc/init.d does not perform the stop part.
@ 2008-03-31 20:54 David Harel
  2008-03-31 20:45 ` Daniel Pielmeier
  0 siblings, 1 reply; 3+ messages in thread
From: David Harel @ 2008-03-31 20:54 UTC (permalink / raw
  To: gentoo-user

Greetings,

I added a simple init startup script with dependency "need localmount" 
The script is added to runlevel "default" using rc-update. The script 
works fine on boot time but it's stop part doesn't work on system 
shutdown. Any idea?

# rc-update -s
            bootmisc | boot
             checkfs | boot
           checkroot | boot
               clock | boot
         consolefont | boot
               cupsd |      default
            hostname | boot
             keymaps | boot
               local |      default nonetwork
          localmount | boot
             modules | boot
            net.eth0 |      default
              net.lo | boot
            netmount |      default
              pcmcia |      default
           rmnologin | boot
               samba |      default
                sshd |      default
           syslog-ng |      default
               *train |      default*
             urandom | boot
          vixie-cron |      default
                 xdm |      default

-- 
Regards.

David Harel,

==================================

Home office +972 77 7657645
Fax:        +972 77 7657645
Cellular:   +972 54 4534502
Snail Mail: Amuka
            D.N Merom Hagalil
            13802
            Israel
Email:      hareldvd@ergolight-sw.com


-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] startup script in /etc/init.d does not perform the stop part.
  2008-03-31 20:45 ` Daniel Pielmeier
@ 2008-04-01  4:50   ` Mark Shields
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Shields @ 2008-04-01  4:50 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1412 bytes --]

On Mon, Mar 31, 2008 at 4:45 PM, Daniel Pielmeier <
daniel.pielmeier@googlemail.com> wrote:

> David Harel schrieb:
> > Greetings,
> >
> > I added a simple init startup script with dependency "need localmount"
> > The script is added to runlevel "default" using rc-update. The script
> > works fine on boot time but it's stop part doesn't work on system
> > shutdown. Any idea?
> >
> > # rc-update -s
> >            bootmisc | boot
> >             checkfs | boot
> >           checkroot | boot
> >               clock | boot
> >         consolefont | boot
> >               cupsd |      default
> >            hostname | boot
> >             keymaps | boot
> >               local |      default nonetwork
> >          localmount | boot
> >             modules | boot
> >            net.eth0 |      default
> >              net.lo | boot
> >            netmount |      default
> >              pcmcia |      default
> >           rmnologin | boot
> >               samba |      default
> >                sshd |      default
> >           syslog-ng |      default
> >               *train |      default*
> >             urandom | boot
> >          vixie-cron |      default
> >                 xdm |      default
> >
>
> Maybe you should post your script too!
>
> Regards,
>
> Daniel
> --
> gentoo-user@lists.gentoo.org mailing list
>
>
What he said.  Post the contents of /etc/init.d/train

-- 
- Mark Shields

[-- Attachment #2: Type: text/html, Size: 2940 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-04-01  4:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-31 20:54 [gentoo-user] startup script in /etc/init.d does not perform the stop part David Harel
2008-03-31 20:45 ` Daniel Pielmeier
2008-04-01  4:50   ` Mark Shields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox