repo.or.cz
/
debian-live-boot.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Adding upstream version 3.0~a21.
[debian-live-boot.git]
/
scripts
/
live-bottom
/
10validateroot
blob
d4d16207c549130257fc36e8ce998761bc0541f4
1
#!/bin/sh
2
3
# Error out in case a "wrong" file system was chosen.
4
5
#set -e
6
7
# initramfs-tools header
8
9
PREREQ
=
""
10
11
prereqs
()
12
{
13
echo
"
${PREREQ}
"
14
}
15
16
case
"
${1}
"
in
17
prereqs
)
18
prereqs
19
exit
0
20
;;
21
esac
22
23
.
/
script
s
/
live-functions
24
.
/
script
s
/
live-helpers
25
26
if
! [
-d
"/root/usr/share/live-boot"
]
27
then
28
panic
"A wrong rootfs was mounted."
29
fi