diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-10-09 16:21:09 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-10-09 16:21:09 +0000 |
commit | 60164fa078d98de65eb9dff39c218b3d6653e818 (patch) | |
tree | ce2e9bb49b2e899f3921279ff4a7e7cdd11b7b6d /mdk-stage1/cdrom.c | |
parent | cb4e52fa2f824ea07f3b720583766b683819444e (diff) | |
download | drakx-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/cdrom.c')
-rw-r--r-- | mdk-stage1/cdrom.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mdk-stage1/cdrom.c b/mdk-stage1/cdrom.c index 6004ddf98..8fc4868d4 100644 --- a/mdk-stage1/cdrom.c +++ b/mdk-stage1/cdrom.c @@ -47,7 +47,11 @@ static int mount_that_cd_device(char * dev_name) static int test_that_cd() { +#ifdef MANDRAKE_MOVE + return access(IMAGE_LOCATION "/usr/bin/runstage2", R_OK); +#else return access(IMAGE_LOCATION LIVE_LOCATION, R_OK); +#endif } |