diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-05-16 12:39:02 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-05-16 12:39:02 +0000 |
commit | 6833f57b55e763d2e3fdac70daf15d73091e97f3 (patch) | |
tree | 20592a7b870820ab829c1d9f943cae189b56632b /testing/wzdftpd-svn/wzdftpd-svn.initd | |
parent | 89e5a3bd0117976fd4b318dec13cb2b02c710f68 (diff) | |
download | aports-6833f57b55e763d2e3fdac70daf15d73091e97f3.tar.bz2 aports-6833f57b55e763d2e3fdac70daf15d73091e97f3.tar.xz |
unstable/wzdftpd-svn: moved from testing
doesnt build
Diffstat (limited to 'testing/wzdftpd-svn/wzdftpd-svn.initd')
-rw-r--r-- | testing/wzdftpd-svn/wzdftpd-svn.initd | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/testing/wzdftpd-svn/wzdftpd-svn.initd b/testing/wzdftpd-svn/wzdftpd-svn.initd deleted file mode 100644 index 25f4da6f47..0000000000 --- a/testing/wzdftpd-svn/wzdftpd-svn.initd +++ /dev/null @@ -1,32 +0,0 @@ -#!/sbin/runscript - -depend() { - need net - after firewall - use dns -} - -checkconfig() { - if [ ! -f /etc/wzdftpd/wzd.cfg ] ; then - eerror "No /etc/wzdftpd/wzd.cnf file exists!" - return 1 - fi - if [ ! -d /var/run/wzdftpd ] ; then - install -dD -o ftp -g ftp /var/run/wzdftpd - fi -} - -start() { - checkconfig || return 1 - ebegin "Starting wzdftpd" - /usr/sbin/wzdftpd >/dev/null 2>&1 & - eend $? -} - -stop () { - ebegin "Stopping wzdftpd" - start-stop-daemon --stop --quiet \ - --pidfile=/var/run/wzdftpd/wzdftpd.pid --retry 20 - eend $? -} - |