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
alpine
alpine-conf
Commits
60ee574a
Commit
60ee574a
authored
Mar 05, 2012
by
Natanael Copa
Browse files
setup-disk: fix unmount logic
we need anchor on both sides. Thanks to Jim Pryor for pointing this out.
parent
2b378636
Changes
1
Show whitespace changes
Inline
Side-by-side
setup-disk.in
View file @
60ee574a
...
...
@@ -297,7 +297,7 @@ unmount_partitions() {
local
mnt
=
"
$1
"
# unmount the partitions
umount
$(
awk
'{print $2}'
/proc/mounts |
grep
^
"
$mnt
"
|
sort
-r
)
umount
$(
awk
'{print $2}'
/proc/mounts |
e
grep
"
^
$mnt
(/|
\$
)
"
|
sort
-r
)
}
# figure out decent default swap size in mega bytes
...
...
Write
Preview
Markdown
is supported
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