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
77b42cd3
Commit
77b42cd3
authored
Sep 26, 2012
by
p4u
Browse files
Added condition to check if wifi command already exists in rc.local
parent
d5dd6782
Changes
1
Hide whitespace changes
Inline
Side-by-side
packages/qmp-small-node/files/etc/uci-defaults/qmp_wifi_restart
View file @
77b42cd3
...
...
@@ -3,6 +3,8 @@
# Temporal script to re-enable wifi after the boot
# this is to fix a temporaly issue when you are using non-standard wifi chanels
sed
-i
-e
"/^exit 0/d"
/etc/rc.local
echo
"wifi"
>>
/etc/rc.local
if
[
$(
cat
/etc/rc.local |
grep
-c
^wifi
)
-lt
1
]
;
then
sed
-i
-e
"/^exit 0/d"
/etc/rc.local
echo
"wifi"
>>
/etc/rc.local
fi
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