mirror of
https://gitlab.sectorq.eu/jaydee/mqtt_srv.git
synced 2025-12-14 10:34:53 +01:00
build
This commit is contained in:
@@ -11,10 +11,12 @@ then
|
|||||||
else
|
else
|
||||||
python3 /jffs/scripts/mqtt_srv/mqtt_srv.py > /dev/null 2>&1 &
|
python3 /jffs/scripts/mqtt_srv/mqtt_srv.py > /dev/null 2>&1 &
|
||||||
fi
|
fi
|
||||||
|
cp /share/Data/nas_bash_history /root/.bash_history
|
||||||
;;
|
;;
|
||||||
"stop")
|
"stop")
|
||||||
echo lala1 >> /tmp/mqtt_srv.log
|
echo lala1 >> /tmp/mqtt_srv.log
|
||||||
kill -9 `ps |grep -e "mqtt_srv.py"|grep -v grep|awk '{ print $1}'`
|
kill -9 `ps |grep -e "mqtt_srv.py"|grep -v grep|awk '{ print $1}'`
|
||||||
|
cp /root/.bash_history /share/Data/nas_bash_history
|
||||||
;;
|
;;
|
||||||
"restart")
|
"restart")
|
||||||
$0 stop
|
$0 stop
|
||||||
|
|||||||
Reference in New Issue
Block a user