* Enable halting and rebooting with slim. (type halt or reboot as login and the root password)

svn path=/nixos/trunk/; revision=11040
This commit is contained in:
Nicolas Pierron 2008-03-10 17:27:37 +00:00
parent 37eaa53007
commit 5240c13bd2

View file

@ -285,6 +285,8 @@ let
default_xserver ${xorg.xorgserver}/bin/X
xserver_arguments ${toString xserverArgs}
login_cmd exec ${stdenv.bash}/bin/sh ${clientScript}
halt_cmd ${pkgs.upstart}/sbin/shutdown -h now
reboot_cmd ${pkgs.upstart}/sbin/shutdown -r now
'';