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
0bbce7bd
Commit
0bbce7bd
authored
Aug 07, 2015
by
Roger Pueyo Centelles
Browse files
[qmp-system] Fix #310: deprecate radvd
parent
fcdc46e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
packages/qmp-system/files/etc/init.d/qmp_autoconf
View file @
0bbce7bd
...
...
@@ -46,7 +46,6 @@ stop_services() {
/etc/init.d/dnsmasq stop
/etc/init.d/gwck stop
/etc/init.d/bmx6 stop
/etc/init.d/radvd stop
/etc/init.d/uhttpd stop
}
...
...
packages/qmp-system/files/etc/qmp/qmp_network.sh
View file @
0bbce7bd
...
...
@@ -113,6 +113,7 @@ qmp_unpublish_hna_bmx6() {
bmx6
-c
--configReload
}
### Deprecated
qmp_radvd_enable_dev
()
{
local
dev
=
"
$1
"
local
cfg
=
""
...
...
@@ -139,6 +140,7 @@ qmp_radvd_enable_dev() {
echo
"Done"
}
### Deprecated
qmp_radvd_enable_prefix
()
{
local
dev
=
"
$1
"
local
prefix
=
"
$2
"
...
...
@@ -177,6 +179,7 @@ qmp_radvd_enable_prefix() {
echo
"Done"
}
### Deprecated
qmp_radvd_enable_route
()
{
local
dev
=
"
$1
"
local
route
=
"
$2
"
...
...
@@ -243,11 +246,13 @@ qmp_configure_lan_v6() {
echo
"Publishing
$ulan_net
over the mesh network"
qmp_publish_hna_bmx6
$ulan_net
ulan
echo
"Configuring radvd"
qmp_radvd_enable_dev lan
qmp_radvd_enable_prefix lan
$ulan_ip
qmp_radvd_enable_route lan fc00::/7
/etc/init.d/radvd restart
### Deprecated
# echo "Configuring radvd"
# qmp_radvd_enable_dev lan
# qmp_radvd_enable_prefix lan $ulan_ip
# qmp_radvd_enable_route lan fc00::/7
# /etc/init.d/radvd restart
echo
"Done"
}
...
...
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