summaryrefslogtreecommitdiff
path: root/package/libvirt/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/libvirt/files')
-rw-r--r--package/libvirt/files/libvirt.postinst3
-rwxr-xr-xpackage/libvirt/files/libvirtd.init28
2 files changed, 0 insertions, 31 deletions
diff --git a/package/libvirt/files/libvirt.postinst b/package/libvirt/files/libvirt.postinst
deleted file mode 100644
index 7ea5433b2..000000000
--- a/package/libvirt/files/libvirt.postinst
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-. $IPKG_INSTROOT/etc/functions.sh
-add_rcconf libvirtd NO
diff --git a/package/libvirt/files/libvirtd.init b/package/libvirt/files/libvirtd.init
deleted file mode 100755
index d02a2a296..000000000
--- a/package/libvirt/files/libvirtd.init
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-#PKG libvirt
-#INIT 80
-. /etc/rc.conf
-
-case $1 in
-autostop) ;;
-autostart)
- test x"${libvirtd:-NO}" = x"NO" && exit 0
- test x"$libvirtd" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start
- exec sh $0 start
- ;;
-start)
- /usr/sbin/libvirtd -d
- ;;
-stop)
- kill $(pgrep -f /usr/sbin/libvirtd)
- ;;
-restart)
- sh $0 stop
- sleep 2
- sh $0 start
- ;;
-*)
- echo "usage: $0 {start | stop | restart}"
- exit 1
-esac
-exit $?