added eject

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14127 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2005-09-07 18:30:40 +00:00
parent 842d818fe5
commit 6661d42166
2 changed files with 4 additions and 1 deletions

View File

@ -118,7 +118,7 @@ BEOS_BIN="touch sync ln listarea listattr listsem listport \
strace rmdir error ifconfig ping traceroute arp pppconfig \
ppp_up gdb tail head zip unzip mountvolume top finddir groups \
id env basename factor tty dstcheck comm modifiers version \
csplit cut beep screen_blanker play"
csplit cut beep screen_blanker play eject"
BEOS_APPS="MiniTerminal Terminal Expander People ShowImage Clock Pulse Playground \
SoundRecorder BitmapDrawing Magnify DiskProbe AboutHaiku StyledEdit"

View File

@ -63,7 +63,10 @@ int main(int argc, char **argv)
}
if (device == NULL)
return do_eject(operation, "/dev/disk/floppy/raw");
return 0;
}
static int do_eject(char operation, char *device)
{
bool bval;