Magellan Linux

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

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

revision 2810 by niro, Fri Apr 7 07:30:42 2017 UTC revision 2811 by niro, Fri Apr 7 07:31:40 2017 UTC
# Line 38  stop_service() Line 38  stop_service()
38   done   done
39  }  }
40    
 # # import_resource $table $serial $resource $value  
 # import_resource()  
 # {  
 # local table="$1"  
 # local serial="$2"  
 # local resource="$3"  
 # local value="$4"  
 #  
 # if [[ ${DEBUG} = 1 ]]  
 # then  
 # echo "${table}->${resource}=${value}" >> /root/lala.log  
 # echo "mysqldo \"update ${table} set ${resource}='${value}' where serial=${serial};\"" >> /root/lala.log  
 # fi  
 #  
 # mysql_insert "${table}",serial="${serial}","${resource}"="${value}"  
 # }  
   
41  # run_class $method $caller $argv1 $argv2 ... $argvN  # run_class $method $caller $argv1 $argv2 ... $argvN
42  run_class()  run_class()
43  {  {

Legend:
Removed from v.2810  
changed lines
  Added in v.2811