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
875e0a88
Commit
875e0a88
authored
Apr 15, 2015
by
Mike Hibler
Browse files
"Final" tweaks based on actual usage.
parent
caa38dd1
Changes
3
Hide whitespace changes
Inline
Side-by-side
clientside/tmcc/freebsd/rc.frisbee
View file @
875e0a88
...
...
@@ -512,7 +512,7 @@ fixone() {
export
SLICEFIX_CONSOLE
=
`
getvar CONSOLE
"
$iline
"
unknown
`
export
SLICEFIX_BIOSDISK
=
`
getvar BIOSDISK
"
$iline
"
`
export
SLICEFIX_DOM0MEM
=
`
getvar DOM0MEM
"
$iline
"
unknown
`
export
SLICEFIX_DISABLEIF
=
`
getvar DISABLEIF
"
$iline
"
unknown
`
export
SLICEFIX_DISABLEIF
=
`
getvar DISABLEIF
"
$iline
"
`
#
# XXX stop complaining about potential UFS1 problems
...
...
clientside/tmcc/linux/rc.frisbee
View file @
875e0a88
...
...
@@ -457,7 +457,7 @@ fixone() {
export
SLICEFIX_CONSOLE
=
`
getvar CONSOLE
"
$iline
"
unknown
`
export
SLICEFIX_BIOSDISK
=
`
getvar BIOSDISK
"
$iline
"
`
export
SLICEFIX_DOM0MEM
=
`
getvar DOM0MEM
"
$iline
"
unknown
`
export
SLICEFIX_DISABLEIF
=
`
getvar DISABLEIF
"
$iline
"
unknown
`
export
SLICEFIX_DISABLEIF
=
`
getvar DISABLEIF
"
$iline
"
`
$BINDIR
/slicefix
$PART
$DISK
return
$?
...
...
@@ -620,6 +620,9 @@ esac
FIRSTMBR
=
''
devs
=
""
while
read
line
;
do
echo
"Loading image"
echo
" LOADINFO=
\"
$line
\"
"
#
# Remember the info for this partition line so we can run slicefix later.
# Yes, we can load the same partition multiple times due to our delta
...
...
clientside/tmcc/linux/slicefix
View file @
875e0a88
...
...
@@ -144,7 +144,7 @@ fi
DISABLEIF
=
$SLICEFIX_DISABLEIF
DISABLEHINT
=
if
[
-n
"
$DISABLEIF
"
]
;
then
_str
=
`
echo
$DISABLEIF
|
sed
-E
-e
's/^([a-zA-Z0-9]*[a-zA-Z])([0-9]
+
)/hint.\1.\2.disabled/'
`
_str
=
`
echo
$DISABLEIF
|
sed
-e
's/^([a-zA-Z0-9]*[a-zA-Z])([0-9]
[0-9]*
)/hint.\1.\2.disabled/'
`
if
[
"
$_str
"
=
"
$DISABLEIF
"
]
;
then
echo
"WARNING: unparsable define name
\"
$DISABLEIF
\"
ignored"
else
...
...
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