knoppix 3.6 knoppix.sh in saveconfig broken?
i noticed when using the knoppix.sh script at boot time that i get alot of:
rm: Cannot remove `dirname`: Is a directory
errors...
so i took the 8th line in the knoppix.sh script which is...
Code:
tar -jpPtf "$CONFIGS" | while read i; do rm -f "$i"; done
and changed it to this...
Code:
tar -jpPtf "$CONFIGS" | while read i; do rm -rf "$i"; done
basically changed the rm command to remove recurrsive...now i get no errors at boot and all the dir's along with the files are removed and rewritten by the script...
I hope this helps some people out ;)