[packages/VirtualBox] it's ok to restart vboxservce
glen
glen at pld-linux.org
Sat Jun 1 00:20:20 CEST 2013
commit 31e46441d19d3c142fff314bd02683c2ab0f8e1c
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Jun 1 01:05:13 2013 +0300
it's ok to restart vboxservce
VirtualBox.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/VirtualBox.spec b/VirtualBox.spec
index 3aacd98..bd585bd 100644
--- a/VirtualBox.spec
+++ b/VirtualBox.spec
@@ -753,11 +753,13 @@ if [ "$1" = "0" ]; then
fi
%post guest
-/sbin/chkconfig --add vboxdrv
+/sbin/chkconfig --add vboxservice
+%service vboxservice restart
%postun guest
if [ "$1" = "0" ]; then
- /sbin/chkconfig --del vboxdrv
+ /sbin/chkconfig --del vboxservice
+ %service vboxservice -q stop
fi
%post -n kernel%{_alt_kernel}-misc-vboxdrv
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/VirtualBox.git/commitdiff/fe0fb47156a96a017c9f8dcc8a34fc53a7ccdfc2
More information about the pld-cvs-commit
mailing list