1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  | #!/bin/sh 
 |  # 
 |  # 
 |    
 |  case "$1" in 
 |    start) 
 |          echo "Starting $0..." 
 |          cd /oem/dds_client && ./dui_fespl dui_aircondition.json & 
 |          ;; 
 |    stop) 
 |          echo "Stop $0..." 
 |          killall dui_fespl 
 |          ;; 
 |    restart|reload) 
 |          killall dui_fespl 
 |          cd /oem/dds_client && ./dui_fespl dui_aircondition.json & 
 |          ;; 
 |    *) 
 |          echo "Usage: $0 {start|stop|restart}" 
 |          exit 1 
 |  esac 
 |    
 |  exit $? 
 |  
  |