]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
zfcp: only install /etc/zfcp.conf in hostonly mode
authorHarald Hoyer <harald@redhat.com>
Thu, 12 Nov 2009 13:55:04 +0000 (14:55 +0100)
committerHarald Hoyer <harald@redhat.com>
Thu, 12 Nov 2009 13:55:04 +0000 (14:55 +0100)
modules.d/95zfcp/install

index 9d926343bd1a0c9b41ccf15457d24a998d6a72f0..fea6bf7b9aba28ced3dc3f6d5e317340102d43e4 100755 (executable)
@@ -3,4 +3,6 @@ inst_hook cmdline 30 "$moddir/parse-zfcp.sh"
 dracut_install tr
 inst "$moddir/zfcpconf.sh" /sbin/zfcpconf.sh
 inst_rules "$moddir/56-zfcp.rules"
-inst /etc/zfcp.conf
+if [[ $hostonly ]]; then
+    inst /etc/zfcp.conf
+fi