mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 12:32:12 +00:00
update
This commit is contained in:
parent
d0cd1fe11f
commit
0769d1fb24
1 changed files with 2 additions and 2 deletions
|
@ -34,11 +34,11 @@ touch /var/run/check.lock
|
|||
|
||||
# Stop T-Pot services and delete all T-Pot upstart scripts
|
||||
echo "### Stopping T-Pot services and cleaning up."
|
||||
for i in $(ls /data/upstart/);
|
||||
for i in $(cat /data/imgcfg/all_images.conf);
|
||||
do
|
||||
service $i stop
|
||||
sleep 2
|
||||
rm -rf /etc/init/$i || true;
|
||||
rm -rf /etc/init/$i.conf || true;
|
||||
done
|
||||
|
||||
# Setup only T-Pot upstart scripts from images.conf and pull the images
|
||||
|
|
Loading…
Reference in a new issue