-
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
Similar Threads
-
By knopx4me in forum Customising & Remastering
Replies: 1
Last Post: 06-09-2005, 03:34 PM
-
By chada in forum General Support
Replies: 0
Last Post: 01-09-2005, 04:02 AM
-
By haris in forum General Support
Replies: 0
Last Post: 01-03-2005, 07:41 AM
-
By jjjrrr3 in forum Networking
Replies: 0
Last Post: 12-12-2004, 04:46 AM
-
By franz29 in forum General Support
Replies: 1
Last Post: 10-31-2004, 12:52 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1
$99.99

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$75.00

Samsung New SSD 970 EVO Plus 2TB 1TB 500GB 250GB NVMe M2 Internal Hard Drive Lot
$79.99

Netac 120GB 256GB 1TB 2TB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot
$119.99

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot
$549.00

Crucial MX500 250GB 2.5" SATA III SSD - Preowned
$29.00

Samsung 256 GB Internal SATA SSD Fully Tested 50%-79% Health
$24.00

2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON
$28.00

Micron MTFDDAK256TBN 256 GB, Internal ,2.5" SSD
$23.00

Netac 256GB SSD 2.5'' SATA III 6Gb/s Internal Solid State Drive 500MB/s PC/Latop
$40.00