[CentOS] chkconfig path

Geert Batsleer batsleer at gmail.com
Wed Feb 18 09:49:53 UTC 2009


2009/2/18 Kai Schaetzl <maillists at conactive.com>

> Geert Batsleer wrote on Tue, 17 Feb 2009 23:25:42 +0100:
>
> > I run the (redhat specific install)
> > script as root.
>
> what exactly does it have at that line 440?
>
> Kai


Hi Kai,

these are lines 133 till 147

-----------------------------
userlist_enable=NO
tcp_wrappers=YES" > "$ftpconfig";

        chkconfig vsftpd on;
        service vsftpd restart >/dev/null 2>&1;
        service vsftpd status  >/dev/null 2>&1;
        if [ "$?" != "0" ]
        then
                echo "...Failed!";
                exit 1;
        else
                echo "...OK";
-----------------------------

Regards, Geert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20090218/ec629dfb/attachment.html>


More information about the CentOS mailing list