Developing lightweight computation at the DSG edge

Commit 03d3e7a3 authored by p4u's avatar p4u
Browse files

Solven problem with first boot

parent e33a0ccb
......@@ -35,17 +35,16 @@ configure() {
echo "[Configuring networking]"
. $QMP_DIR/qmp_functions.sh
qmp_configure
# /etc/init.d/qmp-fix-vlan start
/etc/init.d/network restart
# ifup -a
sleep 5
QMP_HOSTNAME=$(uci get system.@system[0].hostname)
echo "Update hostname for: '$QMP_HOSTNAME'"
echo "$QMP_HOSTNAME" > /proc/sys/kernel/hostname
/etc/init.d/olsrd restart
/etc/init.d/bmx6 restart
ifup -a
touch "$CONTROL_FILE"
echo "Done, rebooting system to complete configuration"
# echo "Done, rebooting system to complete configuration"
# reboot
}
......
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