Automatically translate date formats in po files.
[live-boot-grml.git] / initramfs-tools / scripts / live-bottom / 10validateroot
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 . /scripts/live-functions
24 . /scripts/live-helpers
25
26 if ! [ -d "/root/usr/share/live-boot" ]
27 then
28         panic "A wrong rootfs was mounted."
29 fi