aboutsummaryrefslogtreecommitdiff
path: root/debian/contrib/gnunet-setup-pkexec
diff options
context:
space:
mode:
Diffstat (limited to 'debian/contrib/gnunet-setup-pkexec')
-rwxr-xr-xdebian/contrib/gnunet-setup-pkexec5
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
2CONFIG_FILE="/etc/gnunet.conf"
3/usr/sbin/service gnunet stop
4pkexec gnunet-setup -c ${CONFIG_FILE} $@
5/usr/sbin/service gnunet start