diff options
author | ng0 <ng0@n0.is> | 2019-10-26 13:35:48 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-10-26 13:35:48 +0000 |
commit | 855fbf5b9db9ff680c15e6fd21382c4d7afffc84 (patch) | |
tree | 188a133d55e2f22c827bcc70dda14b0cd32f98f0 /contrib/packages/alpine/gnunet/gnunet.xsession | |
parent | 6ea27c7f49a1368caae113d148b821fd22f380b7 (diff) | |
parent | 5a71ae7aa440f3aa7ca490b7c72bca7982f38348 (diff) | |
download | gnunet-855fbf5b9db9ff680c15e6fd21382c4d7afffc84.tar.gz gnunet-855fbf5b9db9ff680c15e6fd21382c4d7afffc84.zip |
Merge branch 'master' of gnunet.org:gnunet
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 | ||