diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2017-10-06 09:43:00 +0200 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2017-10-06 18:57:55 +0300 |
commit | 291a0bf88a2f1ec8a98f52b9f8e7ecc74595c6b0 (patch) | |
tree | d853d80e587b427496f7ca024ead7c795e944160 /net-dns | |
parent | dev-lisp/ecls: Drops old version 12.12.1 (diff) | |
download | gentoo-291a0bf88a2f1ec8a98f52b9f8e7ecc74595c6b0.tar.gz gentoo-291a0bf88a2f1ec8a98f52b9f8e7ecc74595c6b0.tar.bz2 gentoo-291a0bf88a2f1ec8a98f52b9f8e7ecc74595c6b0.zip |
net-dns/openresolv: remove unused file
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/openresolv/files/restartcmd | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/net-dns/openresolv/files/restartcmd b/net-dns/openresolv/files/restartcmd deleted file mode 100644 index bc2196e54524..000000000000 --- a/net-dns/openresolv/files/restartcmd +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -# This script currently supports: -# - openrc -# - systemd - -if [ -z "${1}" ]; then - echo "Missing arguments." >&2 - exit 1 -fi - -if [ -e /run/openrc/softlevel ]; then - if /sbin/rc-service -e ${1}; then - exec rc-service ${1} -- -Ds restart - fi -elif [ -d /run/systemd/system ]; then - exec systemctl try-restart ${1} -else - echo "Unsupported init system." >&2 - exit 1 -fi |