summaryrefslogtreecommitdiffstats
path: root/tdm/config.def
diff options
context:
space:
mode:
Diffstat (limited to 'tdm/config.def')
-rw-r--r--tdm/config.def18
1 files changed, 4 insertions, 14 deletions
diff --git a/tdm/config.def b/tdm/config.def
index 6164f2f83..43de11c71 100644
--- a/tdm/config.def
+++ b/tdm/config.def
@@ -33,19 +33,8 @@
#define TDMCONF KDE_CONFDIR "/tdm"
#define TDMDATA KDE_DATADIR "/tdm"
-#ifdef _AIX
-# define HALT_CMD "/usr/sbin/shutdown -h now"
-# define REBOOT_CMD "/usr/sbin/shutdown -r now"
-#elif defined(BSD)
-# define HALT_CMD "/sbin/shutdown -h now"
-# define REBOOT_CMD "/sbin/shutdown -r now"
-#elif defined(__SVR4)
-# define HALT_CMD "/usr/sbin/halt"
-# define REBOOT_CMD "/usr/sbin/reboot"
-#else
-# define HALT_CMD "/sbin/poweroff"
-# define REBOOT_CMD "/sbin/reboot"
-#endif
+# define HALT_CMD POWEROFF_BINARY
+# define REBOOT_CMD REBOOT_BINARY
#if defined(BSD) || defined(__linux__)
# define DEF_USER_PATH "/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games"
@@ -104,7 +93,8 @@
overridden settings are: UseBackground, BackgroundCfg, UseTheme, Theme.
In addition, if a tdmdistrc file is found, this file will be ignored.
If a tdmdistrc file is installed, changes should be made to that file.
- See /usr/share/doc/tdm/README.Debian for details
+ You may find more details in distribution specific files if present, like
+ for example /usr/share/doc/tdm-trinity/README.Debian for Debian-based distros.
_
Definition: the greeter is the login dialog, i.e., the part of &tdm;
which the user sees.