mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
tweaking
This commit is contained in:
@ -4,12 +4,19 @@
|
||||
# T-Pot #
|
||||
# Only start the container found in /etc/init/t-pot #
|
||||
# #
|
||||
# v0.01 by mo, DTAG, 2016-02-08 #
|
||||
# v0.02 by mo, DTAG, 2016-02-08 #
|
||||
########################################################
|
||||
|
||||
rm -rf /etc/init/t-pot/*.conf || true
|
||||
# Delete all T-Pot upstart scripts
|
||||
for i in $(ls /data/upstart/);
|
||||
do
|
||||
rm -rf /etc/init/$i || true;
|
||||
done
|
||||
|
||||
# Setup only T-Pot upstart scripts from images.conf
|
||||
for i in $(cat /data/images.conf);
|
||||
do
|
||||
cp /data/upstart/"$i".conf /etc/init/t-pot/;
|
||||
cp /data/upstart/"$i".conf /etc/init/;
|
||||
done
|
||||
|
||||
echo Please reboot for the changes to take effect.
|
||||
|
Reference in New Issue
Block a user