Blame 0019-iscsiroot.sh-do-not-source-etc-conf.d.patch
|
Harald Hoyer |
12f6cc |
From 35022f987cfe680897ab2e83d1897a37c9ff67e0 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
12f6cc |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
12f6cc |
Date: Wed, 25 Jul 2012 14:52:25 +0200
|
|
Harald Hoyer |
12f6cc |
Subject: [PATCH] iscsiroot.sh: do not source /etc/conf.d
|
|
Harald Hoyer |
12f6cc |
|
|
Harald Hoyer |
12f6cc |
this should have been done already.
|
|
Harald Hoyer |
12f6cc |
---
|
|
Harald Hoyer |
12f6cc |
modules.d/95iscsi/iscsiroot.sh | 2 --
|
|
Harald Hoyer |
12f6cc |
1 file changed, 2 deletions(-)
|
|
Harald Hoyer |
12f6cc |
|
|
Harald Hoyer |
12f6cc |
diff --git a/modules.d/95iscsi/iscsiroot.sh b/modules.d/95iscsi/iscsiroot.sh
|
|
Harald Hoyer |
12f6cc |
index 87b7fa7..92414ee 100755
|
|
Harald Hoyer |
12f6cc |
--- a/modules.d/95iscsi/iscsiroot.sh
|
|
Harald Hoyer |
12f6cc |
+++ b/modules.d/95iscsi/iscsiroot.sh
|
|
Harald Hoyer |
12f6cc |
@@ -27,8 +27,6 @@ PATH=/usr/sbin:/usr/bin:/sbin:/bin
|
|
Harald Hoyer |
12f6cc |
netif="$1"
|
|
Harald Hoyer |
12f6cc |
iroot="$2"
|
|
Harald Hoyer |
12f6cc |
|
|
Harald Hoyer |
12f6cc |
-source_all /etc/conf.d
|
|
Harald Hoyer |
12f6cc |
-
|
|
Harald Hoyer |
12f6cc |
# If it's not iscsi we don't continue
|
|
Harald Hoyer |
12f6cc |
[ "${iroot%%:*}" = "iscsi" ] || exit 1
|
|
Harald Hoyer |
12f6cc |
|