From ff5b7950f1f06a29b6df709eedf45c9af94cd0d1 Mon Sep 17 00:00:00 2001
From: HungryHobo <HungryHobo@mail.i2p>
Date: Sun, 31 Oct 2010 19:52:28 +0000
Subject: [PATCH] Debian package:  * Make eepget, i2prouter, and i2psvc
 world-executable  * Auto-start I2P after installation

---
 debian/scripts/postinst | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/scripts/postinst b/debian/scripts/postinst
index 25ccaec33e..6d76f2f0cf 100755
--- a/debian/scripts/postinst
+++ b/debian/scripts/postinst
@@ -11,4 +11,10 @@ chown $I2PUSER:$I2PUSER $SVCHOME
 update-rc.d i2p defaults
 
 cd $I2P
-exec su $I2PUSER ./postinstall.sh
+su $I2PUSER ./postinstall.sh
+
+chmod 755 /usr/lib/i2p/eepget
+chmod 755 /usr/lib/i2p/i2prouter
+chmod 755 /usr/lib/i2p/i2psvc
+
+invoke-rc.d i2p start
-- 
GitLab