summarylogtreecommitdiffstats
path: root/tftpgui.install
blob: 9165c407ace1ecd6de7acf331303e2acc42e84b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {
  groupadd tftpusers
  touch /etc/authbind/byport/69
  chmod 775 /etc/authbind/byport/69
  chown root:tftpusers /etc/authbind/byport/69
  echo "Add any TFTPgui users to the tftpusers group."
  echo "Users will need to login again to refresh group membership."
}

post_upgrade() {
  post_install
}

pre_remove() {
  rm /etc/authbind/byport/69
  groupdel tftpusers
}