Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions lib/rdk/NM_Bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,7 @@ else
rm -rf /opt/NetworkManager/system-connections/*
fi
if [ -d /opt/secure/NetworkManager/system-connections ]; then
echo "`/bin/timestamp` :$0: Listing the connection profiles in device: " >> /opt/logs/NMMonitor.log
ls -lh /opt/secure/NetworkManager/system-connections >> /opt/logs/NMMonitor.log
echo "`/bin/timestamp` :$0: Deleting existing wifi profiles if any..." >> /opt/logs/NMMonitor.log
for f in /opt/secure/NetworkManager/system-connections/*; do
if grep -q "type=wifi" "$f"; then
rm -f "$f"
fi
done
rm -rf /opt/secure/NetworkManager/system-connections/*
fi
if [ -z $PSK ]; then
#connect to wifi
Expand Down
Loading