added eject
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14127 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
+1
-1
@@ -118,7 +118,7 @@ BEOS_BIN="touch sync ln listarea listattr listsem listport \
|
|||||||
strace rmdir error ifconfig ping traceroute arp pppconfig \
|
strace rmdir error ifconfig ping traceroute arp pppconfig \
|
||||||
ppp_up gdb tail head zip unzip mountvolume top finddir groups \
|
ppp_up gdb tail head zip unzip mountvolume top finddir groups \
|
||||||
id env basename factor tty dstcheck comm modifiers version \
|
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 \
|
BEOS_APPS="MiniTerminal Terminal Expander People ShowImage Clock Pulse Playground \
|
||||||
SoundRecorder BitmapDrawing Magnify DiskProbe AboutHaiku StyledEdit"
|
SoundRecorder BitmapDrawing Magnify DiskProbe AboutHaiku StyledEdit"
|
||||||
|
|||||||
@@ -63,7 +63,10 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
if (device == NULL)
|
if (device == NULL)
|
||||||
return do_eject(operation, "/dev/disk/floppy/raw");
|
return do_eject(operation, "/dev/disk/floppy/raw");
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static int do_eject(char operation, char *device)
|
static int do_eject(char operation, char *device)
|
||||||
{
|
{
|
||||||
bool bval;
|
bool bval;
|
||||||
|
|||||||
Reference in New Issue
Block a user