repo.or.cz
/
org.openembedded.dev.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
merge of '07a342693675fe2b1daacf0eb62302579d9fade3'
[org.openembedded.dev.git]
/
packages
/
initscripts
/
initscripts-1.0
/
openprotium
/
umountinitrd.sh
blob
6ee0d50e8488345161bb4470f21365acceee5d6e
1
#!/bin/sh
2
# umount the static dev - we'd probably never use it.
3
#
4
[
-d
/
dev
/
.static
/
dev
] &&
umount
/
dev
/
.static
/
dev
5
#
6
# if a root is found on an ext* filesystem, umount the old initrd
7
#
8
grep
-q
"/ ext"
/
proc
/
mounts
9
if
[
$?
-eq
0
];
then
10
umount
/
initrd
11
fi