Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I am hoping that someone can tell me how to persist the "mount --bind" through reboots. When i reboot my machine my lighthttpd fails to start because it cant find /opt/share/www .
I need to know how to script these two commands during startup:
mkdir /opt
mount --bind /mnt/HD_a2/ipkg/opt /opt
Offline
You can put these commands in the funplug file, i have them in the file which came with Fonz 0.4 and put them in the end after the 'done' line
Last edited by knireis (2008-05-08 09:05:28)
Offline
that seems to have worked. thanks.
Offline
I put the change at the beginning of fun_plug, just after these lines:
mkdir -p ${FUNPLUGDIR} ${LOGDIR} echo "**** fun_plug script for DNS-323 (2007-09-16 tp@fonz.de) ****" >>${LOGFILE} date >>${LOGFILE}
The lines I added are
echo "*Create and mount /opt for ipkg applications" >>${LOGFILE} mkdir -p /opt mount --bind /mnt/HD_a2/ipkg/opt /opt export PATH=/opt/bin:/opt/sbin:$PATH
(I'm also using fonz fun_plug 0.4)
Then the optware mount and PATH are ready if you want to use fun_plug.d/start folder for starting services installed by optware.
Or more neatly: http://dns323.kood.org/forum/t2170-funp … _plug.html
Last edited by sjmac (2008-05-09 16:59:58)
Offline