The default kdmrc configuration uses reboot and halt to manage the system
state, however using `shutdown -r` (in place of reboot) and `shutdown -h` (in
place of halt) is a better solution because:
1] This results in warnings for the logged users
2] In the case of shutdown -h, it tries to power down the system if APM/ACPI
support is present, as halt do on GNU/Linux.
See also this mail written by a FreeBSD Core dev to kdenonlinux mailing list:
http://lists.kde.org/?l=kde-nonlinux&m=100980863816991&w=2
A possibile solution is to use sed in the src_install sections of the relevant
ebuilds (kdebase and kdm) to edit the default kdmrc, as it happens now for
xsessions path.
Reproducible: Always
Steps to Reproduce: