Bug#338966: [Pkg-sysvinit-devel] Bug#338966: initscripts: "Usage" error message displays during bootup

Petter Reinholdtsen pere at hungry.com
Mon Nov 14 07:51:35 UTC 2005


[Petter Reinholdtsen]
> I suspect it the effect is that the upgraded scripts in /etc/rcS.d/
> are not executed as they should, as they are called without 'start'
> as a command line argument.

I checked the old version, and luckily, only the .sh scripts are
called without the 'start' argument.  Try this patch:

Index: /etc/init.d/rcS
===================================================================
--- /etc/init.d/rcS (revisjon 21)
+++ /etc/init.d/rcS (arbeidskopi)
@@ -46,7 +46,7 @@
                        (
                                trap - INT QUIT TSTP
                                set start
-                               . $i
+                               . $i start
                        )
                        ;;
                *)


But I seriously recommend upgrading sysv-rc to the latest version and
allowing it to update /etc/init.d/rcS and /etc/init.d/rc.




More information about the Pkg-sysvinit-devel mailing list