Skip to content

Commit

Permalink
Moving validateroot bottom script into main boot script itself.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-baumann committed Jun 5, 2012
1 parent 6c9872b commit dea88df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 30 deletions.
30 changes: 0 additions & 30 deletions initramfs-tools/scripts/live-bottom/10validateroot

This file was deleted.

5 changes: 5 additions & 0 deletions scripts/boot.sh
Expand Up @@ -630,6 +630,11 @@ mountroot ()
log_end_msg
fi

if ! [ -d "/root/usr/share/live-boot" ]
then
panic "A wrong rootfs was mounted."
fi

maybe_break live-bottom
log_begin_msg "Running /scripts/live-bottom\n"

Expand Down

0 comments on commit dea88df

Please sign in to comment.