summaryrefslogtreecommitdiffstats
path: root/rescue/startssh
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-02-25 16:26:20 +0000
committerThierry Vignaud <tv@mageia.org>2012-02-25 16:26:20 +0000
commit96614bec9d64d2d05e09384be143d1fb3ec44fa6 (patch)
tree1c8ba0a426230e764d891904bd517b5984161a6a /rescue/startssh
parent89c5950eb81dee0afe7b45cbd0d1c55827f95027 (diff)
downloaddrakx-96614bec9d64d2d05e09384be143d1fb3ec44fa6.tar
drakx-96614bec9d64d2d05e09384be143d1fb3ec44fa6.tar.gz
drakx-96614bec9d64d2d05e09384be143d1fb3ec44fa6.tar.bz2
drakx-96614bec9d64d2d05e09384be143d1fb3ec44fa6.tar.xz
drakx-96614bec9d64d2d05e09384be143d1fb3ec44fa6.zip
fix mounting /dev/pts & /dev/shm (mga#1023)
and do it in the right place
Diffstat (limited to 'rescue/startssh')
-rwxr-xr-xrescue/startssh3
1 files changed, 0 insertions, 3 deletions
diff --git a/rescue/startssh b/rescue/startssh
index 19795aaa1..48bba7cbc 100755
--- a/rescue/startssh
+++ b/rescue/startssh
@@ -10,9 +10,6 @@ fi
# change passwd file
sed -E -i -e 's/^root:[^:]*:/root:'"$passwd"':/' /etc/passwd
-# dropbear must have /dev/pts mounted
-grep '^devpts /dev/pts devpts ' /proc/mounts >/dev/null 2>/dev/null || mount -t devpts devpts /dev/pts
-
# generate host keys
mkdir -p /etc/dropbear
[[ -f /etc/dropbear/dropbear_dss_host_key ]] || dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key >/dev/null