summaryrefslogtreecommitdiff
path: root/debian/config
diff options
context:
space:
mode:
Diffstat (limited to 'debian/config')
-rw-r--r--debian/config2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/config b/debian/config
index 6d9729e62..5f98d713e 100644
--- a/debian/config
+++ b/debian/config
@@ -16,6 +16,8 @@ db_version 2.0
16get_config_option() { 16get_config_option() {
17 option="$1" 17 option="$1"
18 18
19 [ -f /etc/ssh/sshd_config ] || return
20
19 # TODO: actually only one '=' allowed after option 21 # TODO: actually only one '=' allowed after option
20 perl -ne 'print if s/^[[:space:]]*'"$option"'[[:space:]=]+//i' \ 22 perl -ne 'print if s/^[[:space:]]*'"$option"'[[:space:]=]+//i' \
21 /etc/ssh/sshd_config 23 /etc/ssh/sshd_config