Hi i have a NAS running Linux ARM little endian glibc 2.2.5 , im trying to permanently change the hosts file in /etc/hosts but it keeps reverting to the default setup upon every boot .
Ive tried circumventing this with a script
Code:
chmod 777 /etc/hosts
cp -f /mnt/md1/public/hosts /etc/
This works when i enter it manually into putty but when i add it to one of the auto run scripts the hosts file is never canged . Ive had a look in /mnt/md1/local/etc/ but there isnt any hosts file in there and its not used when i copy it in that folder .
Any ideas ?
Thanks