Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/daemon/include/daemon.global.class

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1914 by niro, Fri Mar 11 19:38:10 2011 UTC revision 1915 by niro, Wed Nov 9 13:24:00 2011 UTC
# Line 1  Line 1 
1  # $Id$  # $Id$
2    
3    # loads client classes from $MCLIBDIR
4    load_client_classes()
5    {
6     # client specific
7     for i in ${MCLIBDIR}/include/*.client.class
8     do
9     source ${i} || eecho "error loading ${i}"
10     done
11    }
12    
13    # restarts the whole service via remote cmd
14    restart_service()
15    {
16     local pid
17     for pid in $(pidof sslsvd)
18     do
19     kill -SIGHUP ${pid}
20     done
21    }
22    
23  # # import_resource $table $serial $resource $value  # # import_resource $table $serial $resource $value
24  # import_resource()  # import_resource()
25  # {  # {

Legend:
Removed from v.1914  
changed lines
  Added in v.1915