summaryrefslogtreecommitdiff
path: root/share/hooks/0130-disable-kexec-tools.chroot
diff options
context:
space:
mode:
Diffstat (limited to 'share/hooks/0130-disable-kexec-tools.chroot')
-rwxr-xr-xshare/hooks/0130-disable-kexec-tools.chroot16
1 files changed, 0 insertions, 16 deletions
diff --git a/share/hooks/0130-disable-kexec-tools.chroot b/share/hooks/0130-disable-kexec-tools.chroot
deleted file mode 100755
index 403d1d413..000000000
--- a/share/hooks/0130-disable-kexec-tools.chroot
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# Disable kexec-tools
-
-if [ -e /sbin/kexec ]
-then
- echo "kexec-tools kexec-tools/load_kexec boolean false" > /root/preseed
-
- debconf-set-selections /root/preseed
-
- rm -f /root/preseed
-
- dpkg-reconfigure kexec-tools
-fi