diff options
author | Erik Troan <ewt@redhat.com> | 2000-06-16 18:14:55 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-06-16 18:14:55 +0000 |
commit | d3fb474d364c497b34577719289fb3b8204ab0ae (patch) | |
tree | 06f57519520bf7c1728650ffc5f2d5ee5a821209 /loader/init.c | |
parent | e1b8a53ad4e51f6e330a600e2a02144a49d4926a (diff) | |
download | anaconda-d3fb474d364c497b34577719289fb3b8204ab0ae.tar.gz anaconda-d3fb474d364c497b34577719289fb3b8204ab0ae.tar.xz anaconda-d3fb474d364c497b34577719289fb3b8204ab0ae.zip |
don't need to eject cdrom in init anymore
Diffstat (limited to 'loader/init.c')
-rw-r--r-- | loader/init.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/loader/init.c b/loader/init.c index 4a0b96eaa..cb02e2476 100644 --- a/loader/init.c +++ b/loader/init.c @@ -733,15 +733,6 @@ int main(int argc, char **argv) { printf("unmounting filesystems...\n"); unmountFilesystems(); - /* If /dev/cdrom exists, eject it */ - if ((fd = open("/tmp/cdrom", O_RDONLY | O_NONBLOCK, 0)) >= 0) { - printf("ejecting cdrom\n"); - if (ioctl(fd, CDROMEJECT, 0)) { - printf("eject failed\n"); - } - close(fd); - } - if (doReboot) { printf("rebooting system\n"); sleep(2); |