aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/kshutdown/files/patch-configuration.cpp
blob: f1d918219ddf969e14e5cae69b0149c4baddf119 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- kshutdown/configuration.cpp.orig    Mon Jan  9 18:40:46 2006
+++ kshutdown/configuration.cpp Mon Jan  9 19:01:22 2006
@@ -31,7 +31,11 @@
    // automation
    setCurrentGroup("Automation");
    i_cdTrayClose = addItemBool("cd_tray_close", cdTrayClose, false, "CDTrayClose");
+#ifdef Q_OS_FREEBSD
+   i_cdTrayCloseCommand = addItemString("cd_tray_close_command", cdTrayCloseCommand, "cdcontrol close", "CDTrayCloseCommand");
+#else
    i_cdTrayCloseCommand = addItemString("cd_tray_close_command", cdTrayCloseCommand, "eject -t", "CDTrayCloseCommand");
+#endif
 
    // custom message
    setCurrentGroup("Custom Message");