summaryrefslogtreecommitdiff
path: root/network/dropbear/doinst.sh
diff options
context:
space:
mode:
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
+