Gentoo Archives: gentoo-user

From: David Harel <hareldvd@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] startup script in /etc/init.d does not perform the stop part.
Date: Mon, 31 Mar 2008 20:38:29
Message-Id: 47F14F86.3030906@gmail.com
1 Greetings,
2
3 I added a simple init startup script with dependency "need localmount"
4 The script is added to runlevel "default" using rc-update. The script
5 works fine on boot time but it's stop part doesn't work on system
6 shutdown. Any idea?
7
8 # rc-update -s
9 bootmisc | boot
10 checkfs | boot
11 checkroot | boot
12 clock | boot
13 consolefont | boot
14 cupsd | default
15 hostname | boot
16 keymaps | boot
17 local | default nonetwork
18 localmount | boot
19 modules | boot
20 net.eth0 | default
21 net.lo | boot
22 netmount | default
23 pcmcia | default
24 rmnologin | boot
25 samba | default
26 sshd | default
27 syslog-ng | default
28 *train | default*
29 urandom | boot
30 vixie-cron | default
31 xdm | default
32
33 --
34 Regards.
35
36 David Harel,
37
38 ==================================
39
40 Home office +972 77 7657645
41 Fax: +972 77 7657645
42 Cellular: +972 54 4534502
43 Snail Mail: Amuka
44 D.N Merom Hagalil
45 13802
46 Israel
47 Email: hareldvd@××××××××××××.com
48
49
50 --
51 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] startup script in /etc/init.d does not perform the stop part. Daniel Pielmeier <daniel.pielmeier@××××××××××.com>