Skip to content

Commit

Permalink
fixes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
BertrandGouny committed Jul 27, 2015
1 parent 098a466 commit d1e4403
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions image/tool/remove-service
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ do

echo "remove-service: $i"

if [ -d /container/service/$i ]; then
echo "remove folder /container/service/$i"
rm -rf /container/service/$i
fi

if [ -d /etc/service/$i ]; then
echo "remove folder /etc/service/$i"
rm -rf /etc/service/$i
Expand All @@ -20,4 +15,10 @@ do
echo "remove file /etc/my_init.d/$i"
rm -f /etc/my_init.d/$i
fi

if [ -d /container/service/$i ]; then
echo "remove folder /container/service/$i"
rm -rf /container/service/$i
fi

done

0 comments on commit d1e4403

Please sign in to comment.