Drewsif / PiShrink

Make your pi images smaller!
MIT License
3.5k stars 644 forks source link

Question about rc.local.bak #293

Open GMagician opened 3 weeks ago

GMagician commented 3 weeks ago

1st of all I'm newby on linux so forgive me if I say something nosense.

I'm trying to adapt your script to orangePI and during my analysis I saw a lot of: cp -fp /etc/rc.local.bak /etc/rc.local on script end, but this code leaves .bak present. Shouldn't be better to use mv so .bak is erased?