Skip to contentSkip to conversation

inst_simple doesn't take '-H' parameter

PATCH In review Amadeusz Żołnowski 2 participants 2 messages Jul 21, 2014 – Jul 22, 2014 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 inst_simple doesn't take '-H' parameter

It was introduced in commit 5a5758.

---
 modules.d/90lvm/module-setup.sh  | 2 +-
 modules.d/95zfcp/module-setup.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
modules.d/90lvm/module-setup.sh +1 -1
index 2f2b64c..5073082 100755
@@ -59,7 +59,7 @@ install() {
 
     if [[ $hostonly ]] || [[ $lvmconf = "yes" ]]; then
         if [ -f /etc/lvm/lvm.conf ]; then
-            inst_simple -H /etc/lvm/lvm.conf
+            inst_simple /etc/lvm/lvm.conf
             # FIXME: near-term hack to establish read-only locking;
             # use command-line lvm.conf editor once it is available
             sed -i -e 's/\(^[[:space:]]*\)locking_type[[:space:]]*=[[:space:]]*[[:digit:]]/\1locking_type = 4/' ${initdir}/etc/lvm/lvm.conf
modules.d/95zfcp/module-setup.sh +1 -1
index 9526caa..b96ccd2 100755
@@ -31,6 +31,6 @@ install() {
     inst_rules 56-zfcp.rules
 
     if [[ $hostonly ]]; then
-        inst_simple -H /etc/zfcp.conf
+        inst_simple /etc/zfcp.conf
     fi
 }
Signature · 1 line
2.0.0

A message that is not in the archive (sent off-list or not yet received): 1405929291-6523-1-git-send-email-aidecoe-2qtfh70TtYba5EbDDlwbIw@public.gmane.org

#2 lore raw
Quoted 25 lines · Amadeusz Żołnowski

It was introduced in commit 5a5758.

---
 modules.d/90lvm/module-setup.sh  | 2 +-
 modules.d/95zfcp/module-setup.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
modules.d/90lvm/module-setup.sh +1 -1
index 2f2b64c..5073082 100755
@@ -59,7 +59,7 @@ install() {
 
     if [[ $hostonly ]] || [[ $lvmconf = "yes" ]]; then
         if [ -f /etc/lvm/lvm.conf ]; then
-            inst_simple -H /etc/lvm/lvm.conf
+            inst_simple /etc/lvm/lvm.conf
             # FIXME: near-term hack to establish read-only locking;
             # use command-line lvm.conf editor once it is available
             sed -i -e 's/\(^[[:space:]]*\)locking_type[[:space:]]*=[[:space:]]*[[:digit:]]/\1locking_type = 4/' ${initdir}/etc/lvm/lvm.conf
modules.d/95zfcp/module-setup.sh +0 -0
index 9526caa..b96ccd2 100755

modules.d/95zfcp/module-setup.sh install() { · line 36

Quoted 7 lines
modules.d/95zfcp/module-setup.sh +1 -1
@@ -31,6 +31,6 @@ install() {
     inst_rules 56-zfcp.rules
 
     if [[ $hostonly ]]; then
-        inst_simple -H /etc/zfcp.conf
+        inst_simple /etc/zfcp.conf
     fi
 }

Thanks! Fixed in another way.