[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#458486: console-setup: Problem with LSB header in init.d script



Package:  console-setup
Version:  1.19
Tags:     patch
User:     initscripts-ng-devel@lists.alioth.debian.org
Usertags: incorrect-dependency

When testing dependency based boot sequencing, I discovered a bug in
the init.d script for console.  It got the same provides as
console-screen.sh, and this make the update-rc.d provided by insserv
fail to insert it into the boot sequence.  Also, the required headers
required-stop and default-stop are missing.  This patch solve the
issue:

--- /etc/init.d/console-setup   2007-12-31 23:15:55.000000000 +0100
+++ /tmp/console-setup  2007-12-31 23:19:03.000000000 +0100
@@ -1,8 +1,10 @@
 #!/bin/sh
 ### BEGIN INIT INFO
-# Provides:          console-screen
+# Provides:          console-setup
 # Required-Start:    $local_fs $remote_fs
+# Required-Stop:
 # Default-Start:     S
+# Default-Stop:
 # Short-Description: Set console font and keymap
 ### END INIT INFO

Happy hacking,
-- 
Petter Reinholdtsen



Reply to: