aboutsummaryrefslogtreecommitdiff
path: root/contrib/packages/alpine/gnunet/gnunet.xsession
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/packages/alpine/gnunet/gnunet.xsession')
-rw-r--r--contrib/packages/alpine/gnunet/gnunet.xsession10
1 files changed, 2 insertions, 8 deletions
diff --git a/contrib/packages/alpine/gnunet/gnunet.xsession b/contrib/packages/alpine/gnunet/gnunet.xsession
index f19d6baf7..944d47a27 100644
--- a/contrib/packages/alpine/gnunet/gnunet.xsession
+++ b/contrib/packages/alpine/gnunet/gnunet.xsession
@@ -2,7 +2,8 @@
2user=$(whoami) 2user=$(whoami)
3gnunet_proxy=$(gnunet-config -c /etc/skel/.config/gnunet.conf -s gns-proxy|grep 'IMMEDIATE_START = YES') 3gnunet_proxy=$(gnunet-config -c /etc/skel/.config/gnunet.conf -s gns-proxy|grep 'IMMEDIATE_START = YES')
4 4
5# Enable GNS proxy for new users informed by /etc/skel. 5# Enable GNS proxy for new users informed by /etc/skel (system wide
6# installation decision).
6if [ "$gnunet_proxy" ]; then 7if [ "$gnunet_proxy" ]; then
7 8
8 # Calculate user specific port 9 # Calculate user specific port
@@ -45,10 +46,3 @@ fi
45 46
46# Create/Renew GNS certificate authority (CA) per user. 47# Create/Renew GNS certificate authority (CA) per user.
47gnunet-gns-proxy-setup-ca 48gnunet-gns-proxy-setup-ca
48
49# In case a new user was added and gnunet-user-services has not been
50# restarted afterwards, start user services after login.
51if test -z "`ps|grep -v grep|grep $user|grep gnunet-service-arm`" > /dev/null 2>&1
52then
53 gnunet-arm -c /home/$user/.config/gnunet.conf -s
54fi