--- mcore-src/trunk/mcore-tools/src/mcore-client-deactivated.in 2015/12/17 14:09:54 2706 +++ mcore-src/trunk/mcore-tools/src/mcore-client-deactivated.in 2015/12/17 17:35:21 2716 @@ -6,14 +6,23 @@ while [[ -e ${MCORE_CONFIG_PATH}/client-deactivated ]] do - x11runas "xmessage -center -title 'MCORE-CLIENT-DEACTIVATED' -timeout 10 -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 @@HELPDESK_UNIT@@ unter der Telefonnummer @@PHONENUMBER@@. -'" + + +" done + +# activate the fluxbox menu now +cat ~/.fluxbox/menu-activated > ~/.fluxbox/menu