Originally Posted by
Tom_B
you have to add an entry for this file in /usr/local/.files else this file will not be modified on the flash...
Excuse me! the file was added to /usr/local/.files
i'm using Oleg 1.9.2.7-5a and do:
Code:
[tase@asusjuan etc]$ cat /etc/resolv.conf
nameserver 192.168.0.1
[tase@asusjuan etc]$ cat /usr/local/.files
/etc/smb.conf
/etc/smbpasswd
/etc/smb.conf
/etc/smbpasswd
/etc/profile
/etc/resolv.conf
/etc/smb.conf
/etc/smbpasswd
[tase@asusjuan etc]$ flashfs save
tar: Removing leading '/' from member names
etc/smbpasswd
etc/smb.conf
etc/resolv.conf
etc/profile
etc/smbpasswd
etc/smb.conf
etc/smbpasswd
etc/smb.conf
tmp/local/
tmp/local/sbin/
tmp/local/sbin/post-boot
tmp/local/.files
tmp/local/etc/
tmp/local/etc/dropbear/
tmp/local/etc/dropbear/dropbear_dss_host_key
tmp/local/etc/dropbear/dropbear_rsa_host_key
tmp/local/root/
-rw-r--r-- 1 tase root 7711 Jan 1 06:31 /tmp/flash.tar.gz
Check saved image and type "/sbin/flashfs commit" to commit changes
[tase@asusjuan etc]$ flashfs commit
Commited.
[tase@asusjuan etc]$ flashfs enable
[tase@asusjuan etc]$ reboot
[After reboot]
[tase@asusjuan root]$ cat /etc/resolv.conf
nameserver 192.168.1.1
Why?