summarylogtreecommitdiffstats
path: root/post_install
blob: dd3c376395080d823a2f654f98ae65da4674ebb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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
}