1 2 3 4 5 6
if [ $1 -ge 2 ]; then /usr/sbin/control-restore sftp /sbin/service sshd condreload ||: else /sbin/chkconfig --add sshd ||: fi
/usr/sbin/groupadd -r -f sshd /usr/sbin/useradd -r -g sshd -d /var/empty -s /dev/null -n sshd >/dev/null 2>&1 ||: if [ $1 -ge 2 ]; then /usr/sbin/control-dump sftp fi
1 2 3
if [ $1 = 0 ]; then /sbin/chkconfig --del sshd ||: fi