Fix default halt command in tdm on openbsd

pull/2/head
François Andriot 10 years ago committed by Slávek Banko
parent a501cd747c
commit 3cc6437abb

@ -209,7 +209,11 @@ void TDMSessionsWidget::load()
config->setGroup("Shutdown");
restart_lined->setURL(config->readEntry("RebootCmd", "/sbin/reboot"));
#if defined(__OpenBSD__)
shutdown_lined->setURL(config->readEntry("HaltCmd", "/sbin/halt -p"));
#else
shutdown_lined->setURL(config->readEntry("HaltCmd", "/sbin/poweroff"));
#endif
bm_combo->setCurrentId(config->readEntry("BootManager", "None"));
}

Loading…
Cancel
Save