repo.or.cz
/
buildroot-gz.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
gcc: preserve CXXFLAGS_FOR_TARGET
[buildroot-gz.git]
/
package
/
vsftpd
/
S70vsftpd
blob
38bcfd431fe01ebc4decee2559fce65702a8968b
1
#! /bin/sh
2
3
set -e
4
5
DESC
=
"vsftpd"
6
NAME
=
vsftpd
7
DAEMON
=/
usr
/
sbin
/
$NAME
8
9
case
"
$1
"
in
10
start
)
11
printf
"Starting
$DESC
: "
12
start-stop-daemon
-S -b -x
$NAME
13
echo
"OK"
14
;;
15
stop
)
16
printf
"Stopping
$DESC
: "
17
start-stop-daemon
-K -x
$NAME
18
echo
"OK"
19
;;
20
restart|force-reload
)
21
echo
"Restarting
$DESC
: "
22
$0
stop
23
sleep
1
24
$0
start
25
echo
""
26
;;
27
*)
28
echo
"Usage:
$0
{start|stop|restart|force-reload}"
>&
2
29
exit
1
30
;;
31
esac
32
33
exit
0