mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Fix in libvirt install.sh/uninstall.sh
The libvirt daemon was not started after installation because the initscritp is named 'libvirtd' not like the package 'libvirt'. The same problem appear in the uninstall.sh. The service was not stopped. Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
19a4317093
commit
b61fe3f404
@@ -33,7 +33,7 @@ DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
SUP_ARCH = i586 x86_64
|
||||
PROG = libvirt
|
||||
PAK_VER = 3
|
||||
PAK_VER = 4
|
||||
|
||||
DEPS = "libpciaccess libyajl ncat qemu"
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ getent passwd libvirt-remote >/dev/null || \
|
||||
useradd -m -g libvirt-remote -s /bin/bash "libvirt-remote"
|
||||
|
||||
extract_files
|
||||
start_service --delay 300 --background ${NAME}
|
||||
start_service --delay 300 --background libvirtd
|
||||
ln -svf /etc/init.d/libvirtd /etc/rc.d/rc0.d/K20libvirtd
|
||||
ln -svf /etc/init.d/libvirtd /etc/rc.d/rc3.d/S70libvirtd
|
||||
ln -svf /etc/init.d/libvirtd /etc/rc.d/rc6.d/K20libvirtd
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
stop_service ${NAME}
|
||||
stop_service libvirtd
|
||||
remove_files
|
||||
|
||||
rm -f /etc/rc.d/rc*.d/*libvirt-guests
|
||||
|
||||
Reference in New Issue
Block a user