From 0769d1fb24f49aa519ef95b806756591bc8c6003 Mon Sep 17 00:00:00 2001 From: t3chn0m4g3 Date: Thu, 10 Mar 2016 18:44:59 +0100 Subject: [PATCH] update --- installer/bin/update-images.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/bin/update-images.sh b/installer/bin/update-images.sh index fa594aa3..ad99cc2a 100755 --- a/installer/bin/update-images.sh +++ b/installer/bin/update-images.sh @@ -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