From 842f26733e80219e599b6650d237239a1f4b9e0e Mon Sep 17 00:00:00 2001 From: Jan Macku Date: Wed, 3 Sep 2025 12:35:34 +0200 Subject: [PATCH] man: add ifdown.8 Let's add ifdown.8 man page that sources from ifup.8 to remove need of creating symlink to ifup.8. This caused previously issues like: ```sh ls -la /usr/share/man/man8/ifdown.8.gz lrwxrwxrwx. 1 root root 52 Aug 10 2022 /usr/share/man/man8/ifdown.8.gz -> ../../../../../../../../usr/share/man/man8/ifup.8.gz ``` Fixes: https://github.com/fedora-sysv/initscripts/commit/665d560efebeb05dbc70e859ae67ee9415775b32 (cherry picked from commit 080801f38765d93ea6e355dcab0377c3e71a4869) Resolves: RHEL-112178 --- initscripts.spec | 1 - man/ifdown.8 | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 man/ifdown.8 diff --git a/initscripts.spec b/initscripts.spec index 9879d3c45..58c5f0e1e 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -202,7 +202,6 @@ support. Additional configuration is required after installation. install -m 0755 -d %{buildroot}%{_docdir}/network-scripts ln -s %{_docdir}/%{name}/sysconfig.txt %{buildroot}%{_docdir}/network-scripts/ -ln -sr %{_mandir}/man8/ifup.8 %{buildroot}%{_mandir}/man8/ifdown.8 # We are now using alternatives approach to better co-exist with NetworkManager: touch %{buildroot}%{_sbindir}/ifup diff --git a/man/ifdown.8 b/man/ifdown.8 new file mode 100644 index 000000000..f287c7ee4 --- /dev/null +++ b/man/ifdown.8 @@ -0,0 +1 @@ +.so man8/ifup.8