diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2014-12-13 00:14:53 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-12-20 07:16:44 +0700 |
commit | aed0308e188390904421760796fe1c0f2a41275b (patch) | |
tree | f2e12c23508ba16108324a10e9c6b689d18efcb0 /libraries/libvirt/rc.libvirt | |
parent | ad4bc4ffe8a1b8a987e497fc5dce5981fd5c4bb1 (diff) |
libraries/libvirt: Updated for version 1.2.11.
This commit also modifies start() rc.libvirtd to be more
consistent with how Slackware's stock init scripts start
daemons, and a 2>/dev/null was added to the modprobe -r
command in stop() to hide useless errors when e.g. tun
module can't be removed because it's (still) in use (by
other processes).
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libvirt/rc.libvirt')
-rw-r--r-- | libraries/libvirt/rc.libvirt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/libvirt/rc.libvirt b/libraries/libvirt/rc.libvirt index 6f7a1d198ebda..d8ddd63faa80c 100644 --- a/libraries/libvirt/rc.libvirt +++ b/libraries/libvirt/rc.libvirt @@ -80,7 +80,7 @@ start() { echo "libvirt is already running..." exit 1 fi - echo "Starting libvirtd..." + echo "Starting libvirtd: /usr/sbin/libvirtd -d " mkdir -p $(dirname $PIDFILE) check_processor /sbin/modprobe -a $MODULES @@ -100,7 +100,7 @@ stop() { done kill -TERM `cat $PIDFILE` sleep 3 - /sbin/modprobe -ra $MODULES + /sbin/modprobe -ra $MODULES 2>/dev/null } case $1 in |