i`ve followed the steps and now im encountering problems
[admin@WL-500G root]$ /opt/etc/init.d/S10cron
/opt/etc/init.d/S10cron: /opt/etc/init.d/S10cron: 8: /opt/sbin/cron: not found
--------------------------------------------------------
[admin@WL-500G root]$ /opt/etc/init.d/S80lighttpd start
Starting web server: lighttpd
/opt/etc/init.d/S80lighttpd: /opt/etc/init.d/S80lighttpd: 40: /opt/sbin/lighttpd: not found
-------------------------------------------------------
here are the steps i took
Configuring IPKG system.
echo "src unslung http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable" > /opt/etc/ipkg.conf
echo "dest root /" >> /opt/etc/ipkg.conf
ipkg update && ipkg install uclibc-opt && awk '/^Package:/{system("ipkg install -force-reinstall -force-defaults " $2)}' /opt/lib/ipkg/status
ipkg update
ipkg install cron
ipkg install lighttpd
ipkg install sqlite
ipkg install php-fcgi
ipkg install libcurl
ipkg install wget
ipkg install php-gd
ipkg install php-mbstring
nano /opt/etc/lighttpd/lighttpd.conf and uncomment (remove ‘#’ at the beginning) these strings: "mod_access",
"mod_fastcgi",
"mod_cgi",
"mod_accesslog"
server.document-root = "/opt/share/www/"
server.port = 8080
fastcgi.server = ( ".php" =>
( "localhost" =>
(
"min-procs" => 1,
"max-procs" => 1,
"max-load-per-proc" => 4,
"socket" => "/tmp/php-fastcgi.socket",
"bin-path" => "/opt/bin/php-fcgi"
)
)
)
Save changes and closed file
nano /opt/etc/php.ini
extension=pdo.so
extension=sqlite.so
extension=pdo_sqlite.so
nano /opt/etc/crontab
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/opt/sbin:/opt/bin
MAILTO=""
HOME=/
# ---------- ---------- Default is Empty ---------- ---------- #
*/1 * * * * admin /opt/bin/run-parts /opt/etc/cron.1min
*/5 * * * * admin /opt/bin/run-parts /opt/etc/cron.5mins
01 * * * * admin /opt/bin/run-parts /opt/etc/cron.hourly
02 4 * * * admin /opt/bin/run-parts /opt/etc/cron.daily
22 4 * * 0 admin /opt/bin/run-parts /opt/etc/cron.weekly
42 4 1 * * admin /opt/bin/run-parts /opt/etc/cron.monthly
nano /opt/bin/run-parts
#!/bin/sh
#
# runparts.sh by macsat@macsat.com
# intended for use with cron
#
# based on rc.unslung by unslung guys :-)
#
if [ -z "$1" ]
then
echo "Usage : $0 "
fi
RUNDIR=$1"/*"
for i in $RUNDIR ;do
# Ignore dangling symlinks (if any).
[ ! -f "$i" ] && continue
case "$i" in
*.sh)
# Source shell script for speed.
(
trap - INT QUIT TSTP
set start
. $i
)
;;
*)
# No sh extension, so fork subprocess.
$i start
;;
esac
done
chmod +x /opt/bin/run-parts
mkdir /opt/etc/cron.1min
mkdir /opt/etc/cron.5mins
mkdir /opt/etc/cron.hourly
mkdir /opt/etc/cron.daily
mkdir /opt/etc/cron.weekly
mkdir /opt/etc/cron.monthly
flashfs save && flashfs commit && flashfs enable
and thats it, i experienced the problem
[admin@WL-500G root]$ /opt/etc/init.d/S10cron
/opt/etc/init.d/S10cron: /opt/etc/init.d/S10cron: 8: /opt/sbin/cron: not found
--------------------------------------------------------
[admin@WL-500G root]$ /opt/etc/init.d/S80lighttpd start
Starting web server: lighttpd
/opt/etc/init.d/S80lighttpd: /opt/etc/init.d/S80lighttpd: 40: /opt/sbin/lighttpd: not found