12 lines
280 B
Bash
Executable File
12 lines
280 B
Bash
Executable File
#!/bin/sh
|
|
# $NetBSD: script1,v 1.1 2001/08/02 05:41:19 garbled Exp $
|
|
|
|
VAR=`grep "^$1" /etc/sshd.conf | awk '{print $2}'`
|
|
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
|