summaryrefslogtreecommitdiffstats
path: root/obsolete-buildroot/sources/openwrt/ipkg/dropbear/CONTROL/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'obsolete-buildroot/sources/openwrt/ipkg/dropbear/CONTROL/postinst')
-rwxr-xr-xobsolete-buildroot/sources/openwrt/ipkg/dropbear/CONTROL/postinst29
1 files changed, 0 insertions, 29 deletions
diff --git a/obsolete-buildroot/sources/openwrt/ipkg/dropbear/CONTROL/postinst b/obsolete-buildroot/sources/openwrt/ipkg/dropbear/CONTROL/postinst
deleted file mode 100755
index bfe8b4731..000000000
--- a/obsolete-buildroot/sources/openwrt/ipkg/dropbear/CONTROL/postinst
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-echo
-mkdir -p /etc/dropbear
-[ ! -f /etc/dropbear/dropbear_dss_host_key ] && {
-/tmp/dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key
-}
-rm /tmp/dropbearkey
-[ ! -f /etc/passwd ] && {
-cat > /etc/passwd << EOF
-root::0:0:root:/tmp:/bin/ash
-EOF
-cat > /etc/shells << EOF
-/bin/ash
-EOF
-cat > /etc/group << EOF
-root:*:0:
-EOF
-passwd
-}
-
-cat << EOF
-==========================================
-dropbear is now configured to run on boot.
-==========================================
-To start it now, run the following command:
-
-/usr/bin/dropbear
-
-EOF