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
emulab
emulab-devel
Commits
6d1e0af2
Commit
6d1e0af2
authored
May 31, 2012
by
Leigh B Stoller
Browse files
Add patch from Hussam to remove serial line when vgaonly is set.
Avoids a problem on machines with no serial port.
parent
8912cc50
Changes
1
Hide whitespace changes
Inline
Side-by-side
clientside/tmcc/freebsd/slicefix
View file @
6d1e0af2
...
@@ -774,6 +774,22 @@ dolinux() {
...
@@ -774,6 +774,22 @@ dolinux() {
*
)
*
)
;;
;;
esac
esac
# Added by Hussam to disable the serial line defination
grep
-E
'^serial.*--speed'
$gconf
>
/dev/null 2>&1
case
$?
in
0
)
echo
" disabling serial line config in grub"
sed
-i
.preemulab
-e
"s;^serial;#serial;"
$gconf
||
{
echo
"Failed to update serial line in
$gconf
"
umount
$rootdev
return
1
}
;;
*
)
;;
esac
grep
-E
"console=ttyS"
$gconf
>
/dev/null 2>&1
grep
-E
"console=ttyS"
$gconf
>
/dev/null 2>&1
case
$?
in
case
$?
in
0
)
0
)
...
...
Write
Preview
Supports
Markdown
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