diff options
Diffstat (limited to 'debian/contrib/gnunet-setup-pkexec')
-rwxr-xr-x | debian/contrib/gnunet-setup-pkexec | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/contrib/gnunet-setup-pkexec b/debian/contrib/gnunet-setup-pkexec new file mode 100755 index 00000000..7e3f3198 --- /dev/null +++ b/debian/contrib/gnunet-setup-pkexec | |||
@@ -0,0 +1,5 @@ | |||
1 | #!/bin/sh | ||
2 | CONFIG_FILE="/etc/gnunet.conf" | ||
3 | /usr/sbin/service gnunet stop | ||
4 | pkexec gnunet-setup -c ${CONFIG_FILE} $@ | ||
5 | /usr/sbin/service gnunet start | ||