Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
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
RadioObservatory
LOFAR
Commits
cf7647d8
Commit
cf7647d8
authored
15 years ago
by
Arno Schoenmakers
Browse files
Options
Downloads
Patches
Plain Diff
bug 1456: Fixed hang-up when RSPDriver not running
parent
4a2a1c6d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
MAC/APL/APLCommon/src/swlevel
+5
-3
5 additions, 3 deletions
MAC/APL/APLCommon/src/swlevel
with
5 additions
and
3 deletions
MAC/APL/APLCommon/src/swlevel
+
5
−
3
View file @
cf7647d8
...
@@ -112,7 +112,6 @@ start_prog()
...
@@ -112,7 +112,6 @@ start_prog()
sudo rm
-f
$LOGDIR
/
$prog
.log.? 1>/dev/null 2>&1
sudo rm
-f
$LOGDIR
/
$prog
.log.? 1>/dev/null 2>&1
if
[
"
$prog
"
=
"RSPDriver"
]
;
then
if
[
"
$prog
"
=
"RSPDriver"
]
;
then
selectImage1
selectImage1
echo
"Starting RSPDriver"
sudo
-b
$BINDIR
/
$prog
1>/dev/null 2>&1
sudo
-b
$BINDIR
/
$prog
1>/dev/null 2>&1
else
else
sudo
-b
$BINDIR
/
$prog
1>/dev/null 2>&1
sudo
-b
$BINDIR
/
$prog
1>/dev/null 2>&1
...
@@ -247,8 +246,11 @@ goto_level()
...
@@ -247,8 +246,11 @@ goto_level()
curlevel
=
-1
curlevel
=
-1
fi
fi
if
[
${
curlevel
}
-ge
2
]
;
then
if
[
${
curlevel
}
-ge
2
]
;
then
echo
"set rcumode to 0 (power save)"
/sbin/pidof RSPDriver 1>/dev/null 2>&1
rspctl
--rcumode
=
0 1>/dev/null 2>&1
if
[
$?
-eq
0
]
;
then
echo
"set rcumode to 0 (power save)"
rspctl
--rcumode
=
0 1>/dev/null 2>&1
fi
fi
fi
fi
fi
...
...
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