Developing lightweight computation at the DSG edge
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Quick Mesh Project
qMp packages
Commits
03d3e7a3
Commit
03d3e7a3
authored
Oct 29, 2011
by
p4u
Browse files
Solven problem with first boot
parent
e33a0ccb
Changes
1
Hide whitespace changes
Inline
Side-by-side
packages/qmp-small-node/files/etc/init.d/qmp_autoconf
View file @
03d3e7a3
...
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment