diff options
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 +} |