Re: [PATCH] Teach rootskel to call "initscripts"
Tollef Fog Heen <email@example.com> writes:
> * Mario Lang
> | As discussed some weeks ago on this list, some installer packages
> | may want to have some boot/initialize scripts run before
> | the actual installer action happens..
> | Since editing etc/init.d/rcS for every such thing is not
> | really nice, I've inserted a simple for loop there.
> | Scripts should be put in /etc/init.d/SnnNAME.
> Uhm, no.
> if anything, they should be put in /etc/rcS.d. I have checked in a
> fix for this; can you please test that it works properly?
OK! but then we really want this:
RCS file: /cvs/debian-boot/debian-installer/rootskel/src/etc/init.d/rcS,v
retrieving revision 1.9
diff -u -r1.9 rcS
--- rootskel/src/etc/init.d/rcS 6 Nov 2002 11:32:17 -0000 1.9
+++ rootskel/src/etc/init.d/rcS 8 Nov 2002 21:56:53 -0000
@@ -11,7 +11,7 @@
if [ -d /etc/rcS.d ]; then
- for script in /etc/init.d/S[0-9][0-9]*; do
+ for script in /etc/rcS.d/S[0-9][0-9]*; do
[ -x "$script" ] && $script