Contents of /mcore-src/trunk/mcore-tools/src/mcore-client-deactivated.in
Parent Directory | Revision Log
Revision 2723 -
(show annotations)
(download)
Fri Dec 18 14:40:01 2015 UTC (8 years, 9 months ago) by niro
File size: 628 byte(s)
Fri Dec 18 14:40:01 2015 UTC (8 years, 9 months ago) by niro
File size: 628 byte(s)
-use mcore-helpdesk helper scripts
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}/client-deactivated ]] |
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-CLIENT-DEACTIVATED' -timeout 10 -buttons '' " |
14 | |
15 | |
16 | |
17 | CLIENT #$(mcore-serial) DEAKTIVIERT! |
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 |
Properties
Name | Value |
---|---|
svn:executable | * |