makedeb
Re-Connectable Terminal connection. Includes both client and server.
Click here to go back to the commit logs for eternal-terminal-git.
Hash: edac0296505fa436215453bb48a4a2486a72b34f
Message: fix: Added 'post.install'
diff --git a/Makefile b/Makefile
index 73ba1d1..5751c8f 100644
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ commit-prep: clean srcinfo ## prepares the package for commiting. only valid whe
&& find /workspace -mindepth 1 -maxdepth 1 -not -path '**/\.git' -exec cp -r {} /workspace-git/ \;
commit: VERSION = $(shell grep pkgver .SRCINFO | cut -d '=' -f 2 | tr -d '[:space:]')
commit: commit-prep ## Commits changes to git
- git -C "/workspace-git" add PKGBUILD Makefile .SRCINFO .gitignore
+ git -C "/workspace-git" add PKGBUILD Makefile *.install .SRCINFO .gitignore
git -C "/workspace-git" commit -m "feat: Update to ${VERSION}"
diff --git a/post.install b/post.install
new file mode 100755
index 0000000..fb31dfc
--- /dev/null
+++ b/post.install
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+echo ':: Open default Eternal terminal server port'
+echo " sudo iptables -I INPUT 1 -p tcp --dport 2022 -j ACCEPT"
+echo ':: Enable and start eternal-terminal server service with `systemctl`. e.g:'
+echo " sudo systemctl enable --now et"
+
+
+
+