6 |
|
|
7 |
while [[ -e ${MCORE_CONFIG_PATH}/client-deactivated ]] |
while [[ -e ${MCORE_CONFIG_PATH}/client-deactivated ]] |
8 |
do |
do |
9 |
x11runas "xmessage -center -title 'MCORE-CLIENT-DEACTIVATED' -buttons '' ' |
# deactivate the fluxbox menu |
10 |
|
cat ~/.fluxbox/menu-deactivated > ~/.fluxbox/menu |
11 |
|
|
12 |
|
# print a nice message |
13 |
|
xmessage -center -title 'MCORE-CLIENT-DEACTIVATED' -timeout 10 -buttons '' " |
14 |
|
|
15 |
|
|
|
CLIENT DEACTIVATED! |
|
16 |
|
|
17 |
|
CLIENT #$(mcore-serial) DEAKTIVIERT! |
18 |
|
|
19 |
|
Bitte melden Sie sich in Ihrer @@HELPDESK_UNIT@@ unter der Telefonnummer @@HELPDESK_PHONE@@. |
20 |
|
|
21 |
|
|
22 |
'" |
|
23 |
|
|
24 |
|
" |
25 |
done |
done |
26 |
|
|
27 |
|
# activate the fluxbox menu now |
28 |
|
cat ~/.fluxbox/menu-activated > ~/.fluxbox/menu |