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
3f0805bb
Commit
3f0805bb
authored
Nov 29, 2011
by
p4u
Browse files
Added qmpcontrol functionality to enable POE passtrought in NanoStations
parent
7a606be3
Changes
1
Hide whitespace changes
Inline
Side-by-side
packages/qmp-small-node/files/etc/qmp/qmp_control.sh
View file @
3f0805bb
...
...
@@ -56,6 +56,12 @@ apply_network() {
apply_netserver
}
enable_ns_ppt
()
{
echo
8
>
/sys/class/gpio/export
echo
out
>
/sys/class/gpio/gpio8/direction
echo
1
>
/sys/class/gpio/gpio8/value
}
help
()
{
echo
"Use:
$0
<function> [params]"
echo
""
...
...
@@ -65,6 +71,7 @@ help() {
echo
" apply_wifi : Apply current wifi configuration"
echo
" apply_network : Apply current network configuration"
echo
" apply_netserver : Start/stop nerserver depending on qmp configuration"
echo
" enable_ns_ppt : Enable POE passtrought from NanoStation M2/5 devices. Be careful with this"
echo
""
}
...
...
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