Enable upload with ftpd
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ startaccessdaemons() {
|
|||||||
fi
|
fi
|
||||||
if [ ! -f /var/run/ftpd.pid ] || [ ! -d /proc/`cat /var/run/ftpd.pid` ]; then
|
if [ ! -f /var/run/ftpd.pid ] || [ ! -d /proc/`cat /var/run/ftpd.pid` ]; then
|
||||||
# add -w to allow write access
|
# add -w to allow write access
|
||||||
tcpsvd -vE 0.0.0.0 21 ftpd /mnt/sd/ &
|
tcpsvd -vE 0.0.0.0 21 ftpd -w /mnt/sd/ &
|
||||||
echo $! >/var/run/ftpd.pid
|
echo $! >/var/run/ftpd.pid
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user