Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dyyu
openairinterface5G
Commits
f6e4cc2b
Commit
f6e4cc2b
authored
May 31, 2016
by
Rohit Gupta
Browse files
fix stop_exmimo2 script to avoid kernel crashes
parent
4df4c009
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake_targets/tools/stop_exmimo2
View file @
f6e4cc2b
...
...
@@ -8,8 +8,12 @@ if [ "$OPENAIR_DIR" == "" ]; then
fi
sudo
-E
bash
-c
'echo 3 > /proc/sys/vm/drop_caches'
#load the module
sudo
-E
$OPENAIR_DIR
/cmake_targets/tools/init_exmimo2
exmimo_mod
=
`
lsmod |grep openair_rf
`
#load the module only if absent to avoid kernel crashes
if
[
-z
"
$exmimo_mod
"
]
then
sudo
-E
$OPENAIR_DIR
/cmake_targets/tools/init_exmimo2
fi
#now we stop the card from transmitting anything
cd
$OPENAIR_DIR
/targets/bin
...
...
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