Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
alpine
alpine-conf
Commits
a234ec98
Commit
a234ec98
authored
Jul 16, 2011
by
Jeff Bilyk
Browse files
setup-bootable: somehow a couple lines for remounting RO/RW got missed
parent
c67ff255
Changes
1
Show whitespace changes
Inline
Side-by-side
setup-bootable.in
View file @
a234ec98
...
...
@@ -117,7 +117,10 @@ elif [ -b "$dest" ]; then
fi
# Check for RO mounting
if
[
"
`
grep
\"
$destdir
\"
/proc/mount |
grep
'(ro,'
`
"
if
[
"
`
grep
\"
$destdir
\"
/proc/mount |
grep
'(ro,'
`
"
==
"ro"
]
;
then
remountneeded
=
"Y"
mount
-o
remount,rw
"
$destdir
"
fi
[
-n
"
$verbose
"
]
&&
echo
"Using
$dest
as target (mounted on
$destdir
)"
...
...
@@ -258,5 +261,9 @@ else
echo
"Warning: Could not find the parent device for
$dest
"
fi
if
[
"
$remountneeded
"
==
"Y"
]
;
then
mount
-o
remount,ro
"
$destdir
"
fi
cleanup
sync
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment