Skip to content

Commit 1bc1753

Browse files
committed
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: 665d560 (cherry picked from commit 080801f) Resolves: RHEL-112178
1 parent 6bb5d9e commit 1bc1753

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

initscripts.spec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ support. Additional configuration is required after installation.
202202
install -m 0755 -d %{buildroot}%{_docdir}/network-scripts
203203

204204
ln -s %{_docdir}/%{name}/sysconfig.txt %{buildroot}%{_docdir}/network-scripts/
205-
ln -sr %{_mandir}/man8/ifup.8 %{buildroot}%{_mandir}/man8/ifdown.8
206205

207206
# We are now using alternatives approach to better co-exist with NetworkManager:
208207
touch %{buildroot}%{_sbindir}/ifup

man/ifdown.8

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.so man8/ifup.8

0 commit comments

Comments
 (0)