Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37705213
en ru br
ALT Linux repos
S:9.4p1-alt1
5.0: 5.2p1-alt1.1
4.1: 5.0p1-alt3
4.0: 5.0p1-alt3
+updates:4.7p1-alt1
3.0: 3.6.1p2-alt6

Group :: Networking/Remote access
RPM: openssh

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

#!/bin/sh

. /etc/control.d/functions

CONFIG=/etc/openssh/sshd_config

new_subst enabled \
'^Subsystem[[:space:]]+sftp[[:space:]]+@LIBEXECDIR@/sftp-server$' \
's,^#\(Subsystem[[:space:]]\+sftp[[:space:]]\+@LIBEXECDIR@/sftp-server\),\1,'
new_subst disabled \
'^#Subsystem[[:space:]]+sftp[[:space:]]+@LIBEXECDIR@/sftp-server$' \
's,^\(Subsystem[[:space:]]\+sftp[[:space:]]\+@LIBEXECDIR@/sftp-server\),#\1,'

new_help enabled 'Enable SFTP subsystem'
new_help disabled 'Disable SFTP subsystem'

new_summary 'OpenSSH SFTP server subsystem'

control_subst "$CONFIG" "$*"
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin