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
83d26208
Commit
83d26208
authored
May 26, 2013
by
p4u
Browse files
Add restart firewall function
parent
159c3bc6
Changes
2
Hide whitespace changes
Inline
Side-by-side
packages/qmp-system/files/etc/qmp/qmp_control.sh
View file @
83d26208
...
...
@@ -68,6 +68,7 @@ configure_network() {
/etc/init.d/network reload
/etc/init.d/dnsmasq restart
apply_netserver
qmp_restart_firewall
}
configure_system
()
{
...
...
packages/qmp-system/files/etc/qmp/qmp_functions.sh
View file @
83d26208
...
...
@@ -1217,6 +1217,9 @@ qmp_configure_system() {
qmp_set_hosts
}
qmp_restart_firewall
()
{
/etc/init.d/firewall restart
}
qmp_check_force_internet
()
{
[
"
$(
uci get qmp.networks.force_internet
)
"
==
"1"
]
&&
qmp_gw_offer_default
...
...
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