Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Patricio Latini
openairinterface5G
Commits
f6e4cc2b
Commit
f6e4cc2b
authored
8 years ago
by
Rohit Gupta
Browse files
Options
Downloads
Patches
Plain Diff
fix stop_exmimo2 script to avoid kernel crashes
parent
4df4c009
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake_targets/tools/stop_exmimo2
+6
-2
6 additions, 2 deletions
cmake_targets/tools/stop_exmimo2
with
6 additions
and
2 deletions
cmake_targets/tools/stop_exmimo2
+
6
−
2
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment