From 01693129d80edad51bc37e6429889cd89cdff0f0 2017-01-25 07:35:35 From: drtyhlpr Date: 2017-01-25 07:35:35 Subject: [PATCH] Fixed: Clean files/etc/rc.local --- diff --git a/files/etc/rc.local b/files/etc/rc.local index afd7d41..65634df 100755 --- a/files/etc/rc.local +++ b/files/etc/rc.local @@ -11,13 +11,4 @@ # # By default this script does nothing. -if [ ! -e /var/cfengine/policy_server.dat ] ; then - while ! ping -c 1 -q zcu.cz; do sleep 2s; done - rm -f /var/cfengine/ppkeys/* - /var/cfengine/bin/cf-key - /var/cfengine/bin/cf-agent --bootstrap cf.civ.zcu.cz - /var/cfengine/bin/cf-agent -Kf update.cf -D FORCE_update - /var/cfengine/bin/cf-agent -Kf update.cf -D FORCE_update -fi - exit 0