# now we unpack our master archive and replace all those conf files and scripts and things
echo 'Unpacking master config files..'
-tar xzf /media/cdrom/simple-cdd/master.tar -C /
+tar xzf /media/cdrom/simple-cdd/master.tar.gz -C /
chown root /etc/cron.d/getswitchtemp
chown root /root/bin/get_switch_temperature
echo 'Files unpacked.'
chmod go-rwx /opt/cluster/slave/root/.ssh
chmod go-rwx /opt/cluster/slave/root/.ssh/id_rsa
chmod a+rwx /opt/tftp
+
+echo "">/var/log/atftpd.log
+chown nobody /var/log/atftpd.log
+
+update-initramfs -u
echo 'Finalized.'
# our interfaces file gets written over for some reason, we'll copy it and restore it on first boot