Hi, See that i created files in console,
The main source code there is path : package/base-files/files/etc/config/ under this now already two files are there, but if i see in console under /etc/config it shows rwxrwxr-x 1 root root 0 Jan 1 1970 . drwxrwxr-x 1 root root 0 Jul 30 18:33 .. -rw-rw-r-- 1 root root 4045 Jul 30 16:47 ddns -rw-r--r-- 1 root root 885 Jul 30 18:08 dhcp -rw-r--r-- 1 root root 1642 Jul 30 2015 dhcp6c -rw-r--r-- 1 root root 134 Jul 30 18:09 dropbear -rw-r--r-- 1 root root 2148 Jul 30 18:33 firewall -rw-r--r-- 1 root root 645 Jul 30 18:33 luci -rw-r--r-- 1 root root 131 Jul 30 18:44 mcproxy -rw-r--r-- 1 root root 763 Jul 30 18:33 network -rw-rw-r-- 1 root root 89 Jul 30 16:47 pppoe -rw-rw-r-- 1 root root 1773 Jul 30 16:47 qos -rw-r--r-- 1 root root 652 Jul 30 18:49 radvd -rw-r--r-- 1 root root 324 Jul 30 18:49 ripd -rw-r--r-- 1 root root 0 Jul 30 18:33 sound -rw-rw-r-- 1 root root 407 Jul 30 18:33 system -rw-r--r-- 1 root root 128 Jul 30 18:33 ubootenv -rw-r--r-- 1 root root 680 Jul 30 18:33 ucitrack -rw-r--r-- 1 root root 2408 Jul 30 18:23 uhttpd -rw-r--r-- 1 root root 646 Jul 30 18:33 upnpd I am not getting where to create new directory and add this files. Sorry I am totally new in this, It may be silly question please guide me. Thanks, On Mon, Aug 3, 2015 at 12:58 AM, Weedy <weedy2...@gmail.com> wrote: > make > > On Sun, Aug 2, 2015 at 12:56 PM, John kerry <kerry9...@gmail.com> wrote: > > Hi, > > > > so i created directory as below and copy the following files > > > > root@OpenWrt:/# ls -al files/etc/config/ > > drwxr-xr-x 2 root root 0 Jul 30 18:42 . > > drwxr-xr-x 3 root root 0 Jul 30 18:35 .. > > -rw-r--r-- 1 root root 4045 Jul 30 18:42 ddns > > -rw-r--r-- 1 root root 885 Jul 30 18:41 dhcp > > -rw-r--r-- 1 root root 2148 Jul 30 18:41 firewall > > -rw-r--r-- 1 root root 763 Jul 30 18:41 network > > -rw-r--r-- 1 root root 646 Jul 30 18:42 upnpd > > -rw-r--r-- 1 root root 718 Jul 30 18:36 wireless > > > > but how i will link this into building image. > > > > > > > > > > 2015-08-03 0:38 GMT+08:00 Weedy <weedy2...@gmail.com>: > >> > >> You seem to be having problems using uci-defaults. So forget that. > >> > >> Copy the running/working/complete config file from your device into > >> files/etc/config/wireless. > >> You need to make the files directory. You can put anything in there. > >> > >> weedy@HAF ~/projects/openwrt $ ls -al files/etc/config/ > >> total 60 > >> drwxr-xr-x 2 weedy weedy 4096 Jul 13 23:05 . > >> drwxr-xr-x 8 weedy weedy 4096 Jul 31 00:35 .. > >> -rw-r--r-- 1 weedy weedy 138 Jul 13 23:05 darkstat > >> -rw-r--r-- 1 weedy weedy 441 Jul 13 23:05 ddns > >> -rw-r--r-- 1 weedy weedy 1204 Jul 30 22:48 dhcp > >> -rw-r--r-- 1 weedy weedy 119 Jul 13 23:05 dropbear > >> -rw-r--r-- 1 weedy weedy 4290 Jul 13 23:05 firewall > >> -rw-r--r-- 1 weedy weedy 38 Jun 11 2013 netcheck > >> -rw-r--r-- 1 weedy weedy 1059 Jul 13 23:05 network > >> -rw-r--r-- 1 weedy weedy 1821 Jun 30 21:04 qos > >> -rw-r--r-- 1 weedy weedy 761 Jul 13 23:05 system > >> -rw-r--r-- 1 weedy weedy 2165 Jul 13 23:05 uhttpd > >> -rw-r--r-- 1 weedy weedy 639 Jul 13 23:05 upnpd > >> -rw-r--r-- 1 weedy weedy 1353 Jul 13 23:05 wireless > > > > >
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel