My cron ron is NOT listed as running process after reboot.
I have done everything like in this tutorial: http://wl500g.info/showthread.php?t=...rmware&page=25
This is my process:
Code:
PID Uid VmSize Stat Command
1 admin 632 S /sbin/init
2 admin SW [keventd]
3 admin SWN [ksoftirqd_CPU0]
4 admin SW [kswapd]
5 admin SW [bdflush]
6 admin SW [kupdated]
7 admin SW [mtdblockd]
57 admin 316 S telnetd
62 admin 380 S httpd vlan1
67 admin 408 S syslogd -m 0 -O /tmp/syslog.log -S -l 7
68 admin 364 S klogd
71 admin 520 S nas /tmp/nas.lan.conf /tmp/nas.lan.pid lan
73 nobody 440 S [dnsmasq]
75 admin SW [khubd]
83 admin 276 S lpd
85 admin 260 S p9100d -f /dev/usb/lp0 0
89 admin 340 S waveservermain
91 admin 344 S rcamdmain
95 admin SW [usb-storage-0]
96 admin SW [scsi_eh_0]
103 admin 312 S infosvr br0
104 admin 476 S watchdog
106 admin 344 S ntp
124 admin 440 S udhcpc -i vlan1 -p /var/run/udhcpc0.pid -s /tmp/udhcp
125 admin 492 S upnp -D -L br0 -W vlan1
127 admin 480 S dropbear
129 admin 752 S dropbear
130 admin 548 S -sh
150 admin SW [kjournald]
151 admin SW [kjournald]
153 admin 392 R ps
154 admin 132 R /usr/sbin/vsftpd
This is my post-boot
Code:
#!/bin/sh
dropbear
/opt/sbin/cron
And this is my rc.unslug
Code:
#! /bin/sh
# Start/stop all init scripts in /opt/etc/init.d
# starting them in numerical order and
# stopping them in reverse numerical order
#
if [ $# -ne 1 ]; then
printf "Usage: $0 {start|stop}\n" >&2
exit 1
fi
daemons=`echo $(/usr/bin/dirname $0)/S??*`
[ $1 = "stop" ] && daemons=`echo $daemons | /usr/bin/tr " " "\n" | /usr/bin/sort -r`
for i in $daemons; do
# Ignore dangling symlinks (if any).
[ ! -f "$i" ] && continue
# Write to syslog
logger -t rc.unslung "$1 service $i"
case "$i" in
*.sh)
# Source shell script for speed.
(
trap - INT QUIT TSTP
set $1
. $i
)
;;
*)
# No sh extension, so fork subprocess.
$i $1
;;
esac
done