mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-17 15:25:35 +00:00
069a784418
lokinet now installs just the binaries; lokinet-client and lokinet-router install client/router configuration and services (lokinet-client.service, lokinet-router.service), respectively.
14 lines
235 B
Bash
14 lines
235 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ "$1" = purge ]; then
|
|
ucf --purge /etc/loki/lokinet-router.ini
|
|
ucfr --purge lokinet /etc/loki/lokinet-router.ini
|
|
rm -f /etc/loki/lokinet-router.ini
|
|
rm -rf /var/lib/lokinet/router
|
|
fi
|
|
|
|
#DEBHELPER#
|
|
|