Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zzha zzha
OpenXG-RAN
Commits
f6e4cc2b
Commit
f6e4cc2b
authored
May 31, 2016
by
Rohit Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix stop_exmimo2 script to avoid kernel crashes
parent
4df4c009
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
cmake_targets/tools/stop_exmimo2
cmake_targets/tools/stop_exmimo2
+6
-2
No files found.
cmake_targets/tools/stop_exmimo2
View file @
f6e4cc2b
...
@@ -8,8 +8,12 @@ if [ "$OPENAIR_DIR" == "" ]; then
...
@@ -8,8 +8,12 @@ if [ "$OPENAIR_DIR" == "" ]; then
fi
fi
sudo
-E
bash
-c
'echo 3 > /proc/sys/vm/drop_caches'
sudo
-E
bash
-c
'echo 3 > /proc/sys/vm/drop_caches'
#load the module
exmimo_mod
=
`
lsmod |grep openair_rf
`
sudo
-E
$OPENAIR_DIR
/cmake_targets/tools/init_exmimo2
#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
#now we stop the card from transmitting anything
cd
$OPENAIR_DIR
/targets/bin
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