aboutsummaryrefslogtreecommitdiffstats
path: root/initscripts.spec
diff options
context:
space:
mode:
authorDavid Kaspar [Dee'Kej] <dkaspar@redhat.com>2018-05-31 15:58:32 +0200
committerDee'Kej <deekej@linuxmail.org>2018-06-01 14:51:29 +0200
commit82dae2f40f43685c8c4c86e6cb45fd86bc070fae (patch)
tree103f1f94bd150c25241d5e9812f633facd2ef57f /initscripts.spec
parent9b2dbe00100d4e1077404b9d781f35adad979467 (diff)
downloadinitscripts-82dae2f40f43685c8c4c86e6cb45fd86bc070fae.tar
initscripts-82dae2f40f43685c8c4c86e6cb45fd86bc070fae.tar.gz
initscripts-82dae2f40f43685c8c4c86e6cb45fd86bc070fae.tar.bz2
initscripts-82dae2f40f43685c8c4c86e6cb45fd86bc070fae.tar.xz
initscripts-82dae2f40f43685c8c4c86e6cb45fd86bc070fae.zip
network-scripts: control 'network' service with alternatives as well
Diffstat (limited to 'initscripts.spec')
-rw-r--r--initscripts.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 53a9cad1..0a0acb51 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -140,7 +140,8 @@ chkconfig --add netconsole > /dev/null 2>&1 || :
[ -L %{_sbindir}/ifdown ] || rm -f %{_sbindir}/ifdown
%{_sbindir}/update-alternatives --install %{_sbindir}/ifup ifup %{_sysconfdir}/sysconfig/network-scripts/ifup 90 \
- --slave %{_sbindir}/ifdown ifdown %{_sysconfdir}/sysconfig/network-scripts/ifdown
+ --slave %{_sbindir}/ifdown ifdown %{_sysconfdir}/sysconfig/network-scripts/ifdown \
+ --initscript network
# ---------------