Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/mcored.in

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

mcore-src/trunk/mcore-tools/daemon/client/mcored.in revision 2125 by niro, Fri Jan 10 08:52:36 2014 UTC mcore-src/trunk/mcore-tools/src/mcored.in revision 2243 by niro, Mon Jan 13 09:27:41 2014 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2    
3  MCLIBDIR="/usr/lib/mcored"  MCORE_LIBDIR="@@MCORE_LIBDIR@@"
4    
5  # respect system env (proxy settings etc)  # respect system env (proxy settings etc)
6  if [ -e /etc/profile ]  if [ -e @@SYSCONFDIR@@/profile ]
7  then  then
8   source /etc/profile   source @@SYSCONFDIR@@/profile
9  fi  fi
10    
11  # globals  # globals
12  source ${MCLIBDIR}/include/daemon.global.class  source ${MCORE_LIBDIR}/include/common.global.class
13  source ${MCLIBDIR}/include/sessionauth.global.class  source ${MCORE_LIBDIR}/include/daemon.global.class
14  #source ${MCLIBDIR}/include/mysqlfunctions.global.class  source ${MCORE_LIBDIR}/include/sessionauth.global.class
15  source ${MCLIBDIR}/include/hwdetection.global.class  #source ${MCORE_LIBDIR}/include/mysqlfunctions.global.class
16    source ${MCORE_LIBDIR}/include/hwdetection.global.class
17    
18  # load client classes plugins  # load client classes plugins
19  load_client_classes  load_client_classes
20    
21  # config settings  # config settings
22  source /etc/mcore/config.rc  source @@SYSCONFDIR@@/mcore/mcore.conf
23  #source /etc/mcore/serial  #source @@SYSCONFDIR@@/mcore/serial
24    
25  # import_hardware_resource()  # import_hardware_resource()
26  # {  # {
# Line 100  do Line 101  do
101   ;;   ;;
102    
103   *)   *)
104   mecho "Unkown command '${line}'"   mecho "Unknown command '${line}'"
105   mecho "Type 'help' for more information."   mecho "Type 'help' for more information."
106   #echo "$line" >> /root/lala.log   #echo "$line" >> /root/lala.log
107   ;;   ;;

Legend:
Removed from v.2125  
changed lines
  Added in v.2243