Diff of /trunk/bootstrap/bootstrap-default-system.sh.in
Parent Directory | Revision Log | Patch
revision 2189 by niro, Wed Oct 9 10:27:56 2013 UTC | revision 2190 by niro, Wed Oct 9 10:31:35 2013 UTC | |
---|---|---|
# | Line 6 | Line 6 |
6 | # need r00t privs | # need r00t privs |
7 | [[ $(id -u) != 0 ]] && die "you must be r00t." | [[ $(id -u) != 0 ]] && die "you must be r00t." |
8 | ||
9 | if [[ -z $(cat /proc/mounts | grep /mnt/magellan) ]] | if [[ -z $(cat /proc/mounts | grep @STAGINGDIR@) ]] |
10 | then | then |
11 | echo "No partition mounted to /mnt/magellan. Aborting bootstrap." | echo "No partition mounted to @STAGINGDIR@. Aborting bootstrap." |
12 | exit 1 | exit 1 |
13 | fi | fi |
14 |
|