diff options
| author | Daniel Baumann <daniel@debian.org> | 2011-09-08 16:21:19 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-09-08 16:21:19 +0200 |
| commit | 7ad53e42ddb949898e5ce30d0e158424f781aeaa (patch) | |
| tree | 9e0378107c3a1f3786b61f7e7007e8cf6a0d8196 | |
| parent | add39bdb96e82687b0d4c0a7a7cfc0423a2b046a (diff) | |
| download | live-boot-7ad53e42ddb949898e5ce30d0e158424f781aeaa.tar.gz live-boot-7ad53e42ddb949898e5ce30d0e158424f781aeaa.zip | |
Using /usr/share/live-boot instead of unreliable /usr/share/doc/live-boot in validateroot bootscript, stripped live systems may or may not carry /usr/share/doc.
| -rwxr-xr-x | scripts/live-bottom/10validateroot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/live-bottom/10validateroot b/scripts/live-bottom/10validateroot index 23eb900..d4d1620 100755 --- a/scripts/live-bottom/10validateroot +++ b/scripts/live-bottom/10validateroot @@ -7,7 +7,7 @@ # initramfs-tools header PREREQ="" - + prereqs() { echo "${PREREQ}" @@ -23,7 +23,7 @@ esac . /scripts/live-functions . /scripts/live-helpers -if ! [ -d "/root/usr/share/doc/live-boot" ] +if ! [ -d "/root/usr/share/live-boot" ] then panic "A wrong rootfs was mounted." fi |
