summaryrefslogtreecommitdiffstats
path: root/openwrt/package/openssh/files/S50sshd
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/openssh/files/S50sshd')
-rwxr-xr-xopenwrt/package/openssh/files/S50sshd15
1 files changed, 0 insertions, 15 deletions
diff --git a/openwrt/package/openssh/files/S50sshd b/openwrt/package/openssh/files/S50sshd
deleted file mode 100755
index 2ea168394c..0000000000
--- a/openwrt/package/openssh/files/S50sshd
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-for type in rsa dsa; do {
- # check for keys
- key=/etc/ssh/ssh_host_${type}_key
- [ ! -f $key ] && {
- # generate missing keys
- [ -x /usr/bin/ssh-keygen ] && {
- /usr/bin/ssh-keygen -N '' -t $type -f $key 2>&- >&- && exec $0 $*
- } &
- exit 0
- }
-}; done
-mkdir -p /var/empty
-/usr/sbin/sshd