now the current policy is to set :

halt to halt (and not poweroff)
poweroff to poweroff

the best way is to patch end-user programs to poweroff, command line
user will want to use poweroff command instead of halt

here is the patch for kdm :

--- kdebase/kdm/kdm-config.h.chmou      Sun Jul 30 17:04:45 2000
+++ kdebase/kdm/kdm-config.h    Tue Sep 19 13:49:44 2000
@@ -122,7 +122,7 @@
 #endif
 
 #ifndef SHUTDOWN_CMD
-#define        SHUTDOWN_CMD    "/sbin/halt"
+#define        SHUTDOWN_CMD    "/sbin/poweroff"
 #endif
 #ifndef REBOOT_CMD
 #define REBOOT_CMD     "/sbin/reboot"


gdm works by default

if someone know other tools...

-- 
MandrakeSoft Inc                     http://www.chmouel.org
Paris, France                                     --Chmouel

Reply via email to