Commit ba32beef authored by Adam Wujek's avatar Adam Wujek 💬

rootfs: bugfix do not overwrite dot-config's source info

Don't overwrite dot-config's source info with ppsi.conf's source info.
If needed for SNMP other files should be used.
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent d2d9b450
......@@ -117,11 +117,6 @@ elif [ "$CONFIG_PTP_REMOTE_CONF" = "y" ]; then
host=$(echo $URL | cut -d/ -f 3)
filename=$(echo $URL | cut -d/ -f 4-)
# save proto, host and filename of dot-config, to be used by SNMPd
echo "$proto" > "$tmpdir"/dot-config_proto
echo "$host" > "$tmpdir"/dot-config_host
echo "$filename" > "$tmpdir"/dot-config_filename
rm -f $tmpconfig
case $proto in
http|ftp)
......
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