summarylogtreecommitdiffstats
path: root/tftpgui.install
diff options
context:
space:
mode:
authorDJ Lucas2016-01-23 12:49:19 -0600
committerDJ Lucas2016-01-23 12:49:19 -0600
commitd4c3fc8b11e407eabeea80c839093d9dd761ba8a (patch)
treef1a1baaaf10412d678f8727ab7b9de5025803ac8 /tftpgui.install
downloadaur-d4c3fc8b11e407eabeea80c839093d9dd761ba8a.tar.gz
initial commit
Diffstat (limited to 'tftpgui.install')
-rw-r--r--tftpgui.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/tftpgui.install b/tftpgui.install
new file mode 100644
index 000000000000..9165c407ace1
--- /dev/null
+++ b/tftpgui.install
@@ -0,0 +1,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
+}