36 lines
933 B
Diff
36 lines
933 B
Diff
From 49c227e1ec30dc7b0417f74972cd5414ac68ce46 Mon Sep 17 00:00:00 2001
|
|
From: Scott Little <scott.little@windriver.com>
|
|
Date: Mon, 2 Oct 2017 15:32:16 -0400
|
|
Subject: [PATCH 4/7] WRS: openssh-spec-file-add-init.patch
|
|
|
|
---
|
|
SPECS/openssh.spec | 5 -----
|
|
1 file changed, 5 deletions(-)
|
|
|
|
diff --git a/SPECS/openssh.spec b/SPECS/openssh.spec
|
|
index 2302061..9607a75 100644
|
|
--- a/SPECS/openssh.spec
|
|
+++ b/SPECS/openssh.spec
|
|
@@ -711,9 +711,6 @@ getent passwd sshd >/dev/null || \
|
|
%preun server
|
|
%systemd_preun sshd.service sshd.socket
|
|
|
|
-%postun server
|
|
-%systemd_postun_with_restart sshd.service
|
|
-
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{!?_licensedir:%global license %%doc}
|
|
@@ -776,8 +773,6 @@ getent passwd sshd >/dev/null || \
|
|
%attr(0644,root,root) %{_unitdir}/sshd.socket
|
|
%attr(0644,root,root) %{_unitdir}/sshd-keygen.service
|
|
|
|
-%files server-sysvinit
|
|
-%defattr(-,root,root)
|
|
%attr(0755,root,root) /etc/rc.d/init.d/sshd
|
|
%endif
|
|
|
|
--
|
|
1.9.1
|
|
|