aboutsummaryrefslogtreecommitdiffstats
path: root/setup-sshd.in
diff options
context:
space:
mode:
authorJeff Bilyk <jbilyk@gmail.com>2011-07-31 16:40:34 -0400
committerJeff Bilyk <jbilyk@gmail.com>2011-07-31 16:40:34 -0400
commit50a00f2f0f268425bebb5c1084b7ccf75e1ec519 (patch)
tree18753bea36baf35e9d7d7d9cc654f3b5931328f4 /setup-sshd.in
parent70b1a6716dc5e2ed4a4b92d908691f86924c3753 (diff)
downloadalpine-conf-50a00f2f0f268425bebb5c1084b7ccf75e1ec519.tar.bz2
alpine-conf-50a00f2f0f268425bebb5c1084b7ccf75e1ec519.tar.xz
setup-{apklbu, bootable, chrony, sshd}: replace double equals in if statements with single equals
Diffstat (limited to 'setup-sshd.in')
-rwxr-xr-xsetup-sshd.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup-sshd.in b/setup-sshd.in
index 0a86a86..4de32ac 100755
--- a/setup-sshd.in
+++ b/setup-sshd.in
@@ -31,7 +31,7 @@ done
if [ "$PROMPT" != "0" ]; then
echo "Setup sshd? (y/N)"
default_read setupsshd "N"
- if [ "$setupsshd" == "N" ] || [ "$setupsshd" == "n" ]; then
+ if [ "$setupsshd" = "N" ] || [ "$setupsshd" = "n" ]; then
exit 0
fi
fi
@@ -46,7 +46,7 @@ else
apk add openssh -q
fi
-if [ "$PASSWORDAUTH" == "N"]; then
+if [ "$PASSWORDAUTH" = "N"]; then
printf "PasswordAuthentication no\nUseDNS no\n" >> /etc/ssh/sshd_config
else
printf "UseDNS no\n" >> /etc/ssh/sshd_config