gcc: preserve CXXFLAGS_FOR_TARGET
[buildroot-gz.git] / package / vsftpd / S70vsftpd
blob38bcfd431fe01ebc4decee2559fce65702a8968b
1 #! /bin/sh
3 set -e
5 DESC="vsftpd"
6 NAME=vsftpd
7 DAEMON=/usr/sbin/$NAME
9 case "$1" in
10 start)
11 printf "Starting $DESC: "
12 start-stop-daemon -S -b -x $NAME
13 echo "OK"
15 stop)
16 printf "Stopping $DESC: "
17 start-stop-daemon -K -x $NAME
18 echo "OK"
20 restart|force-reload)
21 echo "Restarting $DESC: "
22 $0 stop
23 sleep 1
24 $0 start
25 echo ""
28 echo "Usage: $0 {start|stop|restart|force-reload}" >&2
29 exit 1
31 esac
33 exit 0