summaryrefslogtreecommitdiff
path: root/package/vsftpd
diff options
context:
space:
mode:
Diffstat (limited to 'package/vsftpd')
-rw-r--r--package/vsftpd/files/vsftpd.init1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/vsftpd/files/vsftpd.init b/package/vsftpd/files/vsftpd.init
index 1400a22fd..45c435265 100644
--- a/package/vsftpd/files/vsftpd.init
+++ b/package/vsftpd/files/vsftpd.init
@@ -7,6 +7,7 @@ case $1 in
autostop) ;;
autostart)
test x"${vsftpd:-NO}" = x"NO" && exit 0
+ test x"$vsftpd" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start
exec sh $0 start
;;
start)