RaspyFi - Topic: /etc/rc.local file overwritten http://www.raspyfi.com/forum/tweaks-and-optimizations/etcrc-local-file-overwritten/ Simple:Press Version 5.2.6 chrisrm on /etc/rc.local file overwritten http://www.raspyfi.com/forum/tweaks-and-optimizations/etcrc-local-file-overwritten/#p1799 Tweaks and optimizations http://www.raspyfi.com/forum/tweaks-and-optimizations/etcrc-local-file-overwritten/#p1799 This one's been bugging me, and now that explains it. Thanks, it's continuing to play music very well... Smile

]]>
Wed, 13 Nov 2013 21:48:33 +0100
chrisr on /etc/rc.local file overwritten http://www.raspyfi.com/forum/tweaks-and-optimizations/etcrc-local-file-overwritten/#p1743 Tweaks and optimizations http://www.raspyfi.com/forum/tweaks-and-optimizations/etcrc-local-file-overwritten/#p1743 Many thanks. All working perfectly now. Really enjoying RaspyFi. It's a great piece of software.

]]>
Thu, 07 Nov 2013 15:14:28 +0100
admin on /etc/rc.local file overwritten http://www.raspyfi.com/forum/tweaks-and-optimizations/etcrc-local-file-overwritten/#p1739 Tweaks and optimizations http://www.raspyfi.com/forum/tweaks-and-optimizations/etcrc-local-file-overwritten/#p1739 Hi Chrisr, this happens because RaspyFi features a control on edited files, in order to keep system clean.
If you need to change something you have also to change the correspondent file in
/var/www/_OS_SETTINGS/

so, edit the file you need and

cp /etc/rc.local /var/www/_OS_SETTINGS/etc/rc.local

And you're good to go!

]]>
Thu, 07 Nov 2013 10:24:36 +0100
chrisr on /etc/rc.local file overwritten http://www.raspyfi.com/forum/tweaks-and-optimizations/etcrc-local-file-overwritten/#p1738 Tweaks and optimizations http://www.raspyfi.com/forum/tweaks-and-optimizations/etcrc-local-file-overwritten/#p1738 I have put a couple of lines into /etc/rc.local to run at startup to python scripts to check radio stations, but every time I reboot the Pi the rc.local file is overwritten with the original and I lose my additions. Even if I change the permissions to prevent writing this happens. Is there any way to stop this. Alternatively is there another file I could put the instructions in to run at boot? Thanks, Chris

]]>
Thu, 07 Nov 2013 09:45:10 +0100