Developing lightweight computation at the DSG edge

Commit 4d178444 authored by p4u's avatar p4u
Browse files

Added uci script to add the rescue prefix in case it does not exist

parent e04e3f01
#!/bin/sh
# Removes the wifi commnad introduced in rc.local for compatiblity with backfire
sed s/^wifi$//g -i /etc/rc.local
# Adds rescue_prefix24 if it does not exist
if ! uci get qmp.networks.rescue_prefix24; then
uci set qmp.networks.rescue_prefix24="169.254"
uci commit
fi
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