Magellan Linux

Contents of /mcore-src/trunk/mcore-tools/src/mcore-request-configuration-error.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2781 - (show annotations) (download)
Fri Feb 12 12:36:44 2016 UTC (8 years, 2 months ago) by niro
File size: 654 byte(s)
-catch communincation errors with the controlserver in the configuration phase and show an error message if the configuration request failed
1 #!/bin/bash
2
3 MCORE_LIBDIR="@@MCORE_LIBDIR@@"
4 source @@SYSCONFDIR@@/mcore/mcore.conf
5 source ${MCORE_LIBDIR}/include/common.global.class
6
7 while [[ -e ${MCORE_CONFIG_PATH}/request-configuratation-error ]]
8 do
9 # deactivate the fluxbox menu
10 cat ~/.fluxbox/menu-deactivated > ~/.fluxbox/menu
11
12 # print a nice message
13 xmessage -center -title 'MCORE-REQUEST-CONFIGURATION-ERROR' -timeout 10 -buttons '' "
14
15
16
17 CLIENT #$(mcore-serial) NICHT KONFIGURIERT!
18
19 Bitte melden Sie sich in Ihrer $(mcore-helpdesk-unit) unter der Telefonnummer $(mcore-helpdesk-phone).
20
21
22
23
24 "
25 done
26
27 # activate the fluxbox menu now
28 cat ~/.fluxbox/menu-activated > ~/.fluxbox/menu