diff options
author | Lee Duncan <lduncan@suse.com> | 2022-05-06 10:06:57 -0700 |
---|---|---|
committer | Lee Duncan <lduncan@suse.com> | 2022-05-06 10:09:59 -0700 |
commit | e7bf1035760f9d515d22f1c1cee6a0d359b9ba81 (patch) | |
tree | 5273e4350d585ad427bd924394920180863c1acd /etc/systemd | |
parent | d245091be10c09080f837becce4e2ff115cddad5 (diff) | |
download | open-iscsi-e7bf1035760f9d515d22f1c1cee6a0d359b9ba81.tar.gz |
Fix ibft-rule-generator shell error
Commit fe2c59e06a42 ("Create an systemd iBFT rule generator")
created ibft-rule-generator, but it contains a syntax error,
causing this error message when its run:
> /usr/lib/systemd/system-generators/ibft-rule-generator: line 21: IBFT_RULE_DIR: command not found
This fixes that error.
Diffstat (limited to 'etc/systemd')
-rw-r--r-- | etc/systemd/ibft-rule-generator | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/systemd/ibft-rule-generator b/etc/systemd/ibft-rule-generator index 038a4c2..a464fd6 100644 --- a/etc/systemd/ibft-rule-generator +++ b/etc/systemd/ibft-rule-generator @@ -18,7 +18,7 @@ # so we need to hook in before that. # IBFT_RULE_DIR=/run/udev/rules.d -IBFT_RULES=$(IBFT_RULE_DIR)/79-ibft.rules +IBFT_RULES=${IBFT_RULE_DIR}/79-ibft.rules # ensure we have a rules directory and no rules file if [ -d ${IBFT_RULE_DIR} ] ; then |