summarylogtreecommitdiffstats
path: root/post_install
diff options
context:
space:
mode:
Diffstat (limited to 'post_install')
-rw-r--r--post_install58
1 files changed, 58 insertions, 0 deletions
diff --git a/post_install b/post_install
new file mode 100644
index 000000000000..dd3c37639508
--- /dev/null
+++ b/post_install
@@ -0,0 +1,58 @@
+
+post_install() {
+ cat << EOF
+
+
+******************************************************************
+** WARNING!!!: this ftp server is not focused on security, **
+** it's a lightweight ftp server good for occasional use **
+** **
+** **
+** IMPORTANT: **
+** Edit /etc/stupid-ftpd/stupid-ftpd.conf to configure **
+** **
+** There are two modes: **
+** **
+** Interactive mode: (default) at por 2121 doesn't require **
+** root privilegies. The shared directory is the current **
+** working dir. **
+** **
+** Daemon mode: the shared directory will be the one defined **
+** in the configuration file. **
+** **
+** **
+** **
+** Just execute stupid-ftpd as a normal user and have fun. **
+** (the current working directory will be shared at port 2121) **
+** **
+******************************************************************
+
+EOF
+}
+
+post_upgrade() {
+ cat << EOF
+
+
+******************************************************************
+** IMPORTANT: **
+** Edit /etc/stupid-ftpd/stupid-ftpd.conf to configure **
+** **
+** There are two modes: **
+** **
+** Interactive mode: (default) at por 2121 doesn't require **
+** root privilegies. The shared directory is the current **
+** working dir. **
+** **
+** Daemon mode: the shared directory will be the one defined **
+** in the configuration file. **
+** **
+** **
+** **
+** Just execute stupid-ftpd as a normal user and have fun. **
+** (the current working directory will be shared at port 2121) **
+** **
+******************************************************************
+
+EOF
+} \ No newline at end of file