NetBSD/share/sushi/system/sshdconf/script4

13 lines
280 B
Bash
Executable File

#!/bin/sh
# $NetBSD: script4,v 1.1 2001/08/02 05:41:19 garbled Exp $
VAR=`grep "^$1" /etc/sshd.conf | sed -e "s/$1 *//"`
if [ -z "$VAR" ]; then
VAR=`grep "^$1" /usr/share/sushi/system/sshdconf/defaults | awk '{print $2}'`
fi
if [ -z "$VAR" ]; then
echo ""
else
echo "$VAR"
fi