1 |
# $Id: e-smith-openssh.spec,v 1.4 2020/12/11 19:42:15 jpp Exp $ |
# $Id: e-smith-openssh.spec,v 1.5 2020/12/11 20:41:42 jpp Exp $ |
2 |
|
|
3 |
Summary: e-smith module to configure and enable ssh |
Summary: e-smith module to configure and enable ssh |
4 |
%define name e-smith-openssh |
%define name e-smith-openssh |
659 |
|
|
660 |
%files -f %{name}-%{version}-%{release}-filelist |
%files -f %{name}-%{version}-%{release}-filelist |
661 |
%defattr(-,root,root) |
%defattr(-,root,root) |
662 |
|
|
663 |
|
%pre |
664 |
|
if [ $1 -gt 1 ] ; then |
665 |
|
if [ -e /var/service/sshd/run ] ; then |
666 |
|
/usr/bin/sv d sshd |
667 |
|
/usr/bin/sv d sshd/log |
668 |
|
fi |
669 |
|
fi |