This should sort that out, allowing a user to manually stop it using:
sudo /etc/init.d/stop-bootchart stop
diff -Nu /etc/init.d/stop-bootchart.orig /etc/init.d/stop-bootchart
--- /etc/init.d/stop-bootchart.orig 2009-02-17 11:26:22.000000000 +0000
+++ /etc/init.d/stop-bootchart 2009-02-28 22:00:27.350841549 +0000
@@ -27,7 +27,7 @@
grep -q "profile" /proc/cmdline && exit 0
grep -q "bootchart=disable" /proc/cmdline && exit 0
-grep -q "bootchart=[^ ]*nostop" /proc/cmdline && [ -z "$USER" ] && exit 0
+grep -q "bootchart=[^ ]*nostop" /proc/cmdline && [ -z "$USER" ] && [ "$1" !=
"stop" ] && exit 0
# Get lsb functions
. /lib/lsb/init-functions
@@ -35,6 +35,7 @@
case "$1" in
start)
+ stop)
if [ -d $JAIL ]; then
LOGS=$JAIL/log
elif [ ! -d $LOGS ]; then
@@ -79,7 +80,7 @@
rm -rf $JAIL
fi
;;
- stop|restart|reload|force-reload)
+ restart|reload|force-reload)
;;
*)
log_success_msg "Usage: /etc/init.d/bootchart-stop
{start|stop|restart|reload|force-reload}"
--
bootchart: using nostop, no chart is generated
https://bugs.launchpad.net/bugs/336028
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs