[Pkg-virtualbox-commits] [virtualbox] 01/02: virtualbox: Fix LSB init output
Gianfranco Costamagna
locutusofborg-guest at moszumanska.debian.org
Sun May 1 18:30:07 UTC 2016
This is an automated email from the git hooks/post-receive script.
locutusofborg-guest pushed a commit to branch master
in repository virtualbox.
commit d0d0918a7d7a04265563aec908116bd0d1058d9a
Author: Guillem Jover <guillem at debian.org>
Date: Sat Apr 30 16:43:44 2016 +0200
virtualbox: Fix LSB init output
---
debian/virtualbox.init | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/debian/virtualbox.init b/debian/virtualbox.init
index d546655..c472c53 100644
--- a/debian/virtualbox.init
+++ b/debian/virtualbox.init
@@ -53,7 +53,7 @@ running()
start()
{
- log_begin_msg "Starting VirtualBox kernel modules"
+ log_begin_msg "Loading VirtualBox kernel modules..."
if ! running vboxdrv; then
if ! modprobe vboxdrv > /dev/null 2>&1; then
@@ -64,6 +64,8 @@ start()
fi
log_end_msg 1
return 1
+ else
+ log_progress_msg "vboxdrv"
fi
fi
@@ -76,6 +78,8 @@ start()
fi
log_end_msg 1
return 1
+ else
+ log_progress_msg "vboxnetflt"
fi
fi
@@ -88,6 +92,8 @@ start()
fi
log_end_msg 1
return 1
+ else
+ log_progress_msg "vboxnetadp"
fi
fi
@@ -100,6 +106,8 @@ start()
fi
log_end_msg 1
return 1
+ else
+ log_progress_msg "vboxpci"
fi
fi
@@ -108,13 +116,15 @@ start()
stop()
{
- log_begin_msg "Stopping VirtualBox kernel modules"
+ log_begin_msg "Unloading VirtualBox kernel modules..."
if running vboxnetadp; then
if ! rmmod vboxnetadp 2>/dev/null; then
log_failure_msg "Cannot unload module vboxnetadp"
log_end_msg 1
return 1
+ else
+ log_progress_msg "vboxnetadp"
fi
fi
@@ -123,6 +133,8 @@ stop()
log_failure_msg "Cannot unload module vboxnetflt"
log_end_msg 1
return 1
+ else
+ log_progress_msg "vboxnetflt"
fi
fi
@@ -131,6 +143,8 @@ stop()
log_failure_msg "Cannot unload module vboxpci"
log_end_msg 1
return 1
+ else
+ log_progress_msg "vboxpci"
fi
fi
@@ -139,6 +153,8 @@ stop()
log_failure_msg "Cannot unload module vboxdrv"
log_end_msg 1
return 1
+ else
+ log_progress_msg "vboxdrv"
fi
fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-virtualbox/virtualbox.git
More information about the Pkg-virtualbox-commits
mailing list