diff options
author | DJ Lucas | 2016-01-23 12:49:19 -0600 |
---|---|---|
committer | DJ Lucas | 2016-01-23 12:49:19 -0600 |
commit | d4c3fc8b11e407eabeea80c839093d9dd761ba8a (patch) | |
tree | f1a1baaaf10412d678f8727ab7b9de5025803ac8 /tftpgui.install | |
download | aur-d4c3fc8b11e407eabeea80c839093d9dd761ba8a.tar.gz |
initial commit
Diffstat (limited to 'tftpgui.install')
-rw-r--r-- | tftpgui.install | 17 |
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 +} |