summaryrefslogtreecommitdiff
path: root/network/dropbear/doinst.sh
diff options
context:
space:
mode:
authorPiter PUNK <piterpunk@slackware.com>2010-05-13 00:36:17 +0200
committerAlan Hicks <alan@lizella.net>2010-05-13 00:36:17 +0200
commit4d4863ae506357c850b9be5a1645f715c8bcf5e9 (patch)
treec4c4cccb8184f021556795e814d41b9be5f3a323 /network/dropbear/doinst.sh
parent3b60c6fb5466531ad18073ed688423d41a29ffd1 (diff)
downloadslackbuilds-4d4863ae506357c850b9be5a1645f715c8bcf5e9.tar.gz
network/dropbear: Updated for version 0.52
Diffstat (limited to 'network/dropbear/doinst.sh')
-rw-r--r--network/dropbear/doinst.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/network/dropbear/doinst.sh b/network/dropbear/doinst.sh
index 7b2d54ca18..0b43865a56 100644
--- a/network/dropbear/doinst.sh
+++ b/network/dropbear/doinst.sh
@@ -22,3 +22,10 @@ if [ -e usr/bin/scp ]; then
fi
config etc/rc.d/rc.dropbear.new
+
+# Create a logfile if one doesn't already exist
+if [ ! -e var/log/dropbear.log ]; then
+ touch var/log/dropbear.log
+ chmod 600 var/log/dropbear.log
+fi
+