Drewsif / PiShrink

Make your pi images smaller!
MIT License
3.47k stars 642 forks source link

Question about rc.local.bak #293

Open GMagician opened 1 day ago

GMagician commented 1 day 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?