安装配置一个proftpd的实例[3]

[入库:2005年9月21日] [更新:2007年3月24日]

本文简介:

                        if [ $# -gt 1 ]; then
                                shift
                                echo -n "Suspending with&s;''*''' "
                                ftpshut $*
                        else
                                echo -n "Suspending NOW "
                                ftpshut now "Maintanance in progress"
                        fi
                else
                        echo -n "No way to suspend "
                fi
                echo
                ;;
        resume)
                if [ -f /etc/shutmsg ]; then
                        echo -n "Allowing sessions again "
                        rm -f /etc/shutmsg
                else
                        echo -n "Was not suspended "
                fi
                echo
                ;;
        *)
                echo -n "Usage:; $0 {start|stop|restart|status|reread|resume"
                hash ftpshut
                if [ $? = 1 ]; then
                        echo&s;'''&2;'''
                else
                        echo&s;'''|suspend&2;'''
                        echo&s;'''suspend accepts additional arguments which are passed to ftpshut(84;'''
                fi

本文关键:安装配置一个proftpd的实例
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top