summaryrefslogtreecommitdiffstats
path: root/modules.d/90mgakadeploy/module-setup.sh
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-10-19 19:39:18 +0100
committerJybz <j.biernacki@free.fr>2024-04-20 22:54:13 +0200
commitef1eda86e889cd654ee943bda72232d354aa6ef5 (patch)
treef6b4f2aa68311e3b7c9f7c41d9a868976f196bf1 /modules.d/90mgakadeploy/module-setup.sh
parentb0126b46c3bdef0188d6acf16e9525736305e751 (diff)
downloadmageia-dracut-conf-ef1eda86e889cd654ee943bda72232d354aa6ef5.tar
mageia-dracut-conf-ef1eda86e889cd654ee943bda72232d354aa6ef5.tar.gz
mageia-dracut-conf-ef1eda86e889cd654ee943bda72232d354aa6ef5.tar.bz2
mageia-dracut-conf-ef1eda86e889cd654ee943bda72232d354aa6ef5.tar.xz
mageia-dracut-conf-ef1eda86e889cd654ee943bda72232d354aa6ef5.zip
kadeploy: Add a kd-deploy module
This is sometimes used in the Mageia Installer
Diffstat (limited to 'modules.d/90mgakadeploy/module-setup.sh')
-rwxr-xr-xmodules.d/90mgakadeploy/module-setup.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/modules.d/90mgakadeploy/module-setup.sh b/modules.d/90mgakadeploy/module-setup.sh
new file mode 100755
index 0000000..0be0863
--- /dev/null
+++ b/modules.d/90mgakadeploy/module-setup.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
+# ex: ts=8 sw=4 sts=4 et filetype=sh
+
+check() {
+ # an installer host-only image doesn't really make a lot of sense
+ [[ $hostonly ]] && return 1
+ return 255
+}
+
+depends() {
+ return 0
+}
+
+install() {
+ inst /usr/bin/ka-d-client /ka/ka-d-client
+}