Many of my scripts in rc.d run just fine except the one that starts pure-ftpd, The VERY ODD thing is that running it from the command line after boot works just fine
No error messages in /var/log/messages or at boot time...Code:root@presto:/usr/local/etc/rc.d> ls -l total 18 -r-xr-xr-x 1 root wheel 248 Jul 24 17:24 000.pkgtools.sh -rwx------ 1 root wheel 512 Sep 4 23:01 apache.sh -rwx------ 1 root wheel 156 Sep 4 22:34 inetd.sh -r-------- 1 root wheel 5616 Jul 27 16:57 mysql.server -rwx------ 1 root wheel 270 Sep 4 22:32 mysql.sh -rwx------ 1 root wheel 297 Sep 5 13:04 pureftpd.sh -rwx------ 1 root wheel 167 Sep 4 22:26 webmin.sh root@presto:/usr/local/etc/rc.d> cat pureftpd.sh #!/bin/sh # # Start PureFTPd # echo " " case "$1" in start) /usr/local/sbin/pure-ftpd --chrooteveryone --maxclientsperip 3 --noanonymous --maxdiskusagepct 95 & echo "........PureFTPd ... UP" ;; stop) killall pure-ftpd echo "........PureFTPd ... Stopped" ;; esac echo " " root@presto:/usr/local/etc/rc.d> ./pureftpd.sh start ........PureFTPd ... UP root@presto:/usr/local/etc/rc.d> ps -aux | grep pure root 697 0.0 0.7 1424 876 p0 S 1:13PM 0:00.00 pure-ftpd (SERVER) (pure-ftpd)
any ideas ?



LinkBack URL
About LinkBacks


