[gentoo-user] startup script in /etc/init.d does not perform the stop part.

2008-03-31 Thread David Harel

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:  [EMAIL PROTECTED]


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



Re: [gentoo-user] startup script in /etc/init.d does not perform the stop part.

2008-03-31 Thread Daniel Pielmeier

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



Re: [gentoo-user] startup script in /etc/init.d does not perform the stop part.

2008-03-31 Thread Mark Shields
On Mon, Mar 31, 2008 at 4:45 PM, Daniel Pielmeier 
[EMAIL PROTECTED] 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