--- mcore-src/trunk/mcore-tools/src/mcore-client-deactivated.in 2015/12/17 12:02:10 2702 +++ mcore-src/trunk/mcore-tools/src/mcore-client-deactivated.in 2015/12/18 14:40:01 2723 @@ -6,14 +6,23 @@ while [[ -e ${MCORE_CONFIG_PATH}/client-deactivated ]] do - x11runas "xmessage -center -title 'MCORE-CLIENT-DEACTIVATED' -buttons '' ' + # deactivate the fluxbox menu + cat ~/.fluxbox/menu-deactivated > ~/.fluxbox/menu + # print a nice message + xmessage -center -title 'MCORE-CLIENT-DEACTIVATED' -timeout 10 -buttons '' " - CLIENT DEACTIVATED! + CLIENT #$(mcore-serial) DEAKTIVIERT! + Bitte melden Sie sich in Ihrer $(mcore-helpdesk-unit) unter der Telefonnummer $(mcore-helpdesk-phone). -'" + + +" done + +# activate the fluxbox menu now +cat ~/.fluxbox/menu-activated > ~/.fluxbox/menu