Package: kerneloops
Version: 0.10-2
Severity: minor
Tags: patch
Hi,
it looks like “status” is no defined command, while lsb function
“status_of_proc” exists; here's a patch that switches:
,--
| cy...@talisker:~$ sudo /etc/init.d/kerneloops status
| /etc/init.d/kerneloops: line 66: status: command not found
`--
to either of those:
,--
| cy...@talisker:~$ sudo /etc/init.d/kerneloops status
| is not running failed!
|
| cy...@talisker:~$ sudo /etc/init.d/kerneloops status
| is running.
`--
Maybe not perfect, but…
Cheers,
--
Cyril Brulebois
-- System Information:
Debian Release: 5.0
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.28-rc7-kibi-00200-gf7a8db8 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages kerneloops depends on:
ii libc6 2.7-16 GNU C Library: Shared libraries
ii libcurl3-gnutls 7.18.2-7 Multi-protocol file transfer libra
ii libdbus-1-3 1.2.1-4 simple interprocess messaging syst
ii libdbus-glib-1-2 0.76-1 simple interprocess messaging syst
ii libglib2.0-0 2.16.6-1 The GLib library of C routines
ii libgtk2.0-0 2.12.11-4 The GTK+ graphical user interface
ii libnotify1 [libnotify1-gtk2.1 0.4.4-3 sends desktop notifications to a n
kerneloops recommends no packages.
kerneloops suggests no packages.
-- no debconf information
--- a/kerneloops.init
+++ b/kerneloops.init
@@ -63,7 +63,7 @@ force_reload() {
}
fdr_status() {
- status $prog
+ status_of_proc $prog
}