summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/network.c
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-10-22 19:17:52 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-10-22 19:17:52 +0000
commit287245dab721c6049a946dffb32152fc2839c015 (patch)
tree30f930d553eef13c637ad93daac3b44414a2155b /mdk-stage1/network.c
parenta10fa197aa09ed22806d4677093d5ce44c5ec266 (diff)
downloaddrakx-backup-do-not-use-287245dab721c6049a946dffb32152fc2839c015.tar
drakx-backup-do-not-use-287245dab721c6049a946dffb32152fc2839c015.tar.gz
drakx-backup-do-not-use-287245dab721c6049a946dffb32152fc2839c015.tar.bz2
drakx-backup-do-not-use-287245dab721c6049a946dffb32152fc2839c015.tar.xz
drakx-backup-do-not-use-287245dab721c6049a946dffb32152fc2839c015.zip
handle "boot" clp and "main" clp. passing argument "live" can force to not use the clp in favor of live tree.
Diffstat (limited to 'mdk-stage1/network.c')
-rw-r--r--mdk-stage1/network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c
index f6834c55b..ca438736b 100644
--- a/mdk-stage1/network.c
+++ b/mdk-stage1/network.c
@@ -661,7 +661,7 @@ enum return_type nfs_prepare(void)
}
#ifdef MANDRAKE_MOVE
- if (access(IMAGE_LOCATION "/usr/bin/runstage2", R_OK) && access(IMAGE_LOCATION "/live_tree.clp", R_OK)) {
+ if (access(IMAGE_LOCATION "/live_tree/etc/fstab", R_OK) && access(IMAGE_LOCATION "/live_tree.clp", R_OK)) {
#else
if (access(IMAGE_LOCATION LIVE_LOCATION, R_OK)) {
#endif