diff options
Diffstat (limited to 'contrib/packages/alpine/gnunet/gnunet.xsession')
-rw-r--r-- | contrib/packages/alpine/gnunet/gnunet.xsession | 10 |
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 @@ | |||
2 | user=$(whoami) | 2 | user=$(whoami) |
3 | gnunet_proxy=$(gnunet-config -c /etc/skel/.config/gnunet.conf -s gns-proxy|grep 'IMMEDIATE_START = YES') | 3 | gnunet_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). | ||
6 | if [ "$gnunet_proxy" ]; then | 7 | if [ "$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. |
47 | gnunet-gns-proxy-setup-ca | 48 | gnunet-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. | ||
51 | if test -z "`ps|grep -v grep|grep $user|grep gnunet-service-arm`" > /dev/null 2>&1 | ||
52 | then | ||
53 | gnunet-arm -c /home/$user/.config/gnunet.conf -s | ||
54 | fi | ||