Annotation of /mcore-src/trunk/mcore-tools/src/mcore-client-deactivated.in
Parent Directory | Revision Log
Revision 2716 -
(hide annotations)
(download)
Thu Dec 17 17:35:21 2015 UTC (8 years, 5 months ago) by niro
File size: 615 byte(s)
Thu Dec 17 17:35:21 2015 UTC (8 years, 5 months ago) by niro
File size: 615 byte(s)
-make the client deactivated message more useful
1 | niro | 2702 | #!/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 | niro | 2711 | # deactivate the fluxbox menu |
10 | niro | 2712 | cat ~/.fluxbox/menu-deactivated > ~/.fluxbox/menu |
11 | niro | 2711 | |
12 | # print a nice message | ||
13 | niro | 2710 | xmessage -center -title 'MCORE-CLIENT-DEACTIVATED' -timeout 10 -buttons '' " |
14 | niro | 2702 | |
15 | |||
16 | |||
17 | niro | 2716 | CLIENT #$(mcore-serial) DEAKTIVIERT! |
18 | niro | 2702 | |
19 | niro | 2716 | Bitte melden Sie sich in Ihrer @@HELPDESK_UNIT@@ unter der Telefonnummer @@PHONENUMBER@@. |
20 | niro | 2702 | |
21 | |||
22 | |||
23 | niro | 2716 | |
24 | niro | 2710 | " |
25 | niro | 2702 | done |
26 | niro | 2711 | |
27 | # activate the fluxbox menu now | ||
28 | niro | 2714 | cat ~/.fluxbox/menu-activated > ~/.fluxbox/menu |
Properties
Name | Value |
---|---|
svn:executable | * |