Commit 7ea9c96b authored by Dmitry Smirnov's avatar Dmitry Smirnov

stop in runlevel 1:

simplify dh_installinint invocation: use runlevel arguments from init
script header in order to avoid the following warnings:

    update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match mountdebugfs Default-Stop values (0 6)

    W: blktrace: init.d-script-possible-missing-stop etc/init.d/mountdebugfs 1

This commit does not change runlevels but make 'em explicit.
parent c1ff5ae9
......@@ -11,7 +11,7 @@
# Should-Start:
# Should-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 6
# Default-Stop: 0 1 6
# Short-Description: Mount debugfs on /sys/kernel/debug
# Description: Mount debugfs on /sys/kernel/debug
### END INIT INFO
......
......@@ -48,8 +48,7 @@ override_dh_auto_install:
mv usr/bin/bno_plot.py usr/bin/bno_plot
override_dh_installinit:
dh_installinit --name=mountdebugfs --no-restart-on-upgrade \
--update-rcd-params="start 20 2 3 4 5 . stop 21 0 6 ."
dh_installinit --name=mountdebugfs --no-restart-on-upgrade
override_dh_compress:
dh_compress -X.pdf
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment