Przeglądaj źródła

低配守护进程bug

liyi 6 miesięcy temu
rodzic
commit
f127a6c6c6

+ 9 - 2
output/t113s/pack_dir/mnt/UDISK/app/smartMonitor.sh

@@ -11,7 +11,8 @@ SNMPDIR=$APPDIR/snmp
 
 
 start_snmpd()
 start_snmpd()
 {
 {
-    `$SNMPDIR/bin/snmpd -Cc $SNMPDIR/conf/snmpd.conf -Lo &`
+	  echo "start snmpd"
+    $SNMPDIR/bin/snmpd -Cc $SNMPDIR/conf/snmpd.conf -Lo &
     chmod 777 /var/agentx/master
     chmod 777 /var/agentx/master
 }
 }
 start_pdu()
 start_pdu()
@@ -19,7 +20,13 @@ start_pdu()
     #run smartPDU
     #run smartPDU
     #sleep 13
     #sleep 13
    echo "start smartPDU"
    echo "start smartPDU"
-   `/mnt/UDISK/app/smartPDU & `
+   /mnt/UDISK/app/smartPDU &
+}
+
+start_lcd()
+{
+	echo "start lcd"
+	$APPDIR/Qt_Test -platform linuxfb:fb=/dev/fb1 &
 }
 }