[luci] Customizing menus

Frank Parker mr.frank.parker at gmail.com
Thu Nov 17 17:47:56 CET 2011


On Wed, Nov 16, 2011 at 3:43 PM, Jo-Philipp Wich <xm at subsignal.org> wrote:
> simply remove /tmp/.luci-indexcache.

Thanks Jow but I dont see a file /tmp/.luci-indexcache

root at OpenWrt:~# ls -al /tmp
drwxrwxrwt   12 root     root          380 Dec 29 15:28 .
drwxr-xr-x    1 root     root            0 Dec 29 15:28 ..
-rwx------    1 root     root            0 Jan  1  2000 .failsafe
drwx------    2 root     root           40 Dec 29 15:28 .uci
-rw-r--r--    1 root     root            5 Dec 29 15:28 TZ
-rw-r--r--    1 root     root            0 Dec 29 15:28 dhcp.leases
drwxr-xr-x    2 root     root           80 Dec 29 15:28 etc
-rw-r--r--    1 root     root          124 Dec 29 15:28 fstab
drwxr-xr-x    2 root     root           60 Dec 29 15:28 lock
drwxr-xr-x    2 root     root          120 Dec 29 15:28 log
-rw-------    1 root     root        11079 Dec 29 15:28 luci-indexcache
drwxr-xr-x    2 root     root          640 Dec 29 15:28 luci-modulecache
drwx------    2 root     root           60 Dec 29 15:28 luci-sessions
drwxrwxrwx    3 root     root           60 Dec 29 15:28 luci-templatecache
-rw-r--r--    1 root     root           21 Dec 29 15:28 resolv.conf
-rw-r--r--    1 root     root           33 Dec 29 15:28 resolv.conf.auto
drwxr-xr-x    3 root     root          160 Dec 29 15:28 run
drwxr-xr-x    3 root     root           60 Dec 29 15:28 spool
drwxr-xr-x    2 root     root           80 Dec 29 15:28 state


> To permanently disable the menu cache for development purposes, comment
> out the line
>
>  luci.dispatcher.indexcache = "/tmp/luci-indexcache"
>
> in /www/cgi-bin/luci .

When I do this and reboot it just serves blank pages until I put it
back and reboot.

This is Kamikaze (r18961)

-parker


More information about the luci mailing list