Commit 684b9442 authored by Ophélie Gagnard's avatar Ophélie Gagnard

dracut.module: fixup [Support SCAN_FILE macro.](4fb98f98).

parent 1ef01244
...@@ -6,7 +6,7 @@ source $NEWROOT/etc/rapid.space/get-network.sh ...@@ -6,7 +6,7 @@ source $NEWROOT/etc/rapid.space/get-network.sh
WENDELIN_REFERENCE=$(cat $NEWROOT/etc/rapid.space/wendelin_reference) WENDELIN_REFERENCE=$(cat $NEWROOT/etc/rapid.space/wendelin_reference)
WENDELIN_USER=$(cat $NEWROOT/etc/rapid.space/wendelin_user) WENDELIN_USER=$(cat $NEWROOT/etc/rapid.space/wendelin_user)
SCAN_FILE=/var/log/metadata_collect.log SCAN_FILE=/var/log/metadata_collect.log
sed -i "s/%SCAN_FILE%/$SCAN_FILE/g;s/%WENDELIN_REFERENCE%/$WENDELIN_REFERENCE/g;s/%WENDELIN_USER%/$WENDELIN_USER/g" /etc/flb.conf sed -i "s|%SCAN_FILE%|$SCAN_FILE|g;s/%WENDELIN_REFERENCE%/$WENDELIN_REFERENCE/g;s/%WENDELIN_USER%/$WENDELIN_USER/g" /etc/flb.conf
SCAN_FILE=/var/log/metadata_collect.log SCAN_FILE=/var/log/metadata_collect.log
timestamp_cmd='date +"%Y/%m/%d %H:%M %Z"' timestamp_cmd='date +"%Y/%m/%d %H:%M %Z"'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment