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?
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?