Skip to content
Snippets Groups Projects
Commit ba32beef authored by Adam Wujek's avatar Adam Wujek :speech_balloon:
Browse files

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: default avatarAdam Wujek <adam.wujek@cern.ch>
parent d2d9b450
Branches
Tags
No related merge requests found
......@@ -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)
......
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