Magellan Linux

Annotation of /mcore-src/trunk/mcore-tools/src/mcore-client-deactivated.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2717 - (hide annotations) (download)
Fri Dec 18 08:17:20 2015 UTC (8 years, 4 months ago) by niro
File size: 618 byte(s)
-fixed helpdesk phone
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 2717 Bitte melden Sie sich in Ihrer @@HELPDESK_UNIT@@ unter der Telefonnummer @@HELPDESK_PHONE@@.
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 *