X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=simple-cdd%2Fprofiles%2Ftrc6500.postinst;h=c37271469669c08814617f44b7815f715b539bfd;hb=b3f3562f417f2983a7e0d0c2d5b54bb3bd9e94ab;hp=01231b82e9c6ff65b6eabed5ba7f5490ec623cbb;hpb=40346f7c7585854238262f7b8ca4b5a0e5c5f0b4;p=debian6500.git diff --git a/simple-cdd/profiles/trc6500.postinst b/simple-cdd/profiles/trc6500.postinst index 01231b8..c372714 100755 --- a/simple-cdd/profiles/trc6500.postinst +++ b/simple-cdd/profiles/trc6500.postinst @@ -14,7 +14,7 @@ echo 'Additional packages installed.' # 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.' @@ -57,6 +57,11 @@ chmod go-rwx /root/.ssh/id_rsa 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