Commit 1c756716 authored by Dmitry Smirnov's avatar Dmitry Smirnov

fixing runlevels (Closes: #541867) thanks, Petter Reinholdtsen

parent d8232f70
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
# Required-Stop: $local_fs # Required-Stop: $local_fs
# Should-Start: # Should-Start:
# Should-Stop: # Should-Stop:
# Default-Start: S 1 2 3 4 5 # Default-Start: 2 3 4 5
# Default-Stop: 0 6 # Default-Stop: 0 6
# Short-Description: Mount debugfs on /sys/kernel/debug # Short-Description: Mount debugfs on /sys/kernel/debug
### END INIT INFO ### END INIT INFO
......
#!/bin/sh
set -e
# update init script symlinks for new runlevels and priorities for upgrades
# from older versions
if [ "$1" = configure ] && dpkg --compare-versions "$2" le 1.0.5-1; then
echo "Reinstalling init script for new runlevels and priorities ..." >&2
# remove old init script symlinks; dh_installinit adds the proper
# update-rc.d snippet later on
update-rc.d -f mountdebugfs remove >/dev/null
fi
#DEBHELPER#
...@@ -49,7 +49,7 @@ override_dh_auto_install: ...@@ -49,7 +49,7 @@ override_dh_auto_install:
override_dh_installinit: override_dh_installinit:
dh_installinit --name=mountdebugfs --no-restart-on-upgrade \ dh_installinit --name=mountdebugfs --no-restart-on-upgrade \
--update-rcd-params="start 90 S . stop 21 0 6 ." --update-rcd-params="start 20 2 3 4 5 . stop 21 0 6 ."
override_dh_compress: override_dh_compress:
dh_compress -X.pdf 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