X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;ds=sidebyside;f=simple-cdd%2Fprofiles%2Ftrc6500.postinst;fp=simple-cdd%2Fprofiles%2Ftrc6500.postinst;h=01231b82e9c6ff65b6eabed5ba7f5490ec623cbb;hb=40346f7c7585854238262f7b8ca4b5a0e5c5f0b4;hp=0ad5d6033935beda7368aa64da05294613e6d3e1;hpb=9c7f26beb3643499203fca3668ba7024e6823af4;p=debian6500.git diff --git a/simple-cdd/profiles/trc6500.postinst b/simple-cdd/profiles/trc6500.postinst index 0ad5d60..01231b8 100755 --- a/simple-cdd/profiles/trc6500.postinst +++ b/simple-cdd/profiles/trc6500.postinst @@ -15,6 +15,8 @@ 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 / +chown root /etc/cron.d/getswitchtemp +chown root /root/bin/get_switch_temperature echo 'Files unpacked.' # I don't know why things were that way before, but I'm told to set them that way again. @@ -65,5 +67,8 @@ mv /etc/rc.local /etc/rc.local.original cp /media/cdrom/simple-cdd/myrc.local /etc/rc.local echo 'Script copied.' +echo 'Deleting simple-cdd files on disk..' +rm -r /usr/local/simple-cdd +echo 'Script deleted' umount /media/cdrom