mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
9 lines
150 B
Text
9 lines
150 B
Text
backup_dir="$1/conf/ssh"
|
|
|
|
if [ -d /etc/ssh/ ]; then
|
|
cp -a $backup_dir/. /etc/ssh
|
|
service ssh restart
|
|
else
|
|
echo "SSH is not installed"
|
|
fi
|
|
|