diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-19 17:59:37 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-19 17:59:37 +0000 |
commit | 150a86a9cb006b4800d6517d58532b8a556fec1e (patch) | |
tree | 0cea769c7bef669c4dfe19e7805593f6f34033fb /net-firewall/nufw/files/nuauth-init.d | |
parent | 1cb0dd91756f77b25d6cc22318dc85187ed084cb (diff) |
gentoo auto-resync : 19:01:2023 - 17:59:37
Diffstat (limited to 'net-firewall/nufw/files/nuauth-init.d')
-rw-r--r-- | net-firewall/nufw/files/nuauth-init.d | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/net-firewall/nufw/files/nuauth-init.d b/net-firewall/nufw/files/nuauth-init.d deleted file mode 100644 index db9c10b8a0d5..000000000000 --- a/net-firewall/nufw/files/nuauth-init.d +++ /dev/null @@ -1,27 +0,0 @@ -#!/sbin/openrc-run - -depend() { - before net -} - -checkconfig() { - if [ ! -e /etc/nufw/nuauth.conf ]; then - eerror "You need a /etc/nufw/nuauth.conf file to run nuauth" - eerror "There is sample file in /usr/share/doc/nufw-version/" - return 1 - fi -} - -start() { - checkpath -d /run/nuauth - checkconfig || return 1 - ebegin "Starting nuauth" - start-stop-daemon --start --quiet --exec /usr/sbin/nuauth -- -D ${NUAUTH_OPTIONS} - eend $? -} - -stop() { - ebegin "Stopping nuauth" - start-stop-daemon --stop --quiet --pidfile /run/nuauth/nuauth.pid - eend $? -} |