summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/network.c
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-10-09 16:21:09 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-10-09 16:21:09 +0000
commit60164fa078d98de65eb9dff39c218b3d6653e818 (patch)
treece2e9bb49b2e899f3921279ff4a7e7cdd11b7b6d /mdk-stage1/network.c
parentcb4e52fa2f824ea07f3b720583766b683819444e (diff)
downloaddrakx-backup-do-not-use-60164fa078d98de65eb9dff39c218b3d6653e818.tar
drakx-backup-do-not-use-60164fa078d98de65eb9dff39c218b3d6653e818.tar.gz
drakx-backup-do-not-use-60164fa078d98de65eb9dff39c218b3d6653e818.tar.bz2
drakx-backup-do-not-use-60164fa078d98de65eb9dff39c218b3d6653e818.tar.xz
drakx-backup-do-not-use-60164fa078d98de65eb9dff39c218b3d6653e818.zip
boot live_tree! :)
Diffstat (limited to 'mdk-stage1/network.c')
-rw-r--r--mdk-stage1/network.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c
index 6e3449f76..84baba81e 100644
--- a/mdk-stage1/network.c
+++ b/mdk-stage1/network.c
@@ -660,7 +660,11 @@ enum return_type nfs_prepare(void)
continue;
}
+#ifdef MANDRAKE_MOVE
+ if (access(IMAGE_LOCATION "/usr/bin/runstage2", R_OK)) {
+#else
if (access(IMAGE_LOCATION LIVE_LOCATION, R_OK)) {
+#endif
stg1_error_message("That NFS volume does not seem to contain the " DISTRIB_NAME " Distribution.");
umount(IMAGE_LOCATION);
results = RETURN_BACK;