diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-02-25 16:26:20 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-02-25 16:26:20 +0000 |
commit | 0e6a75d7ab09a7c4ea4e4f861b744d40606ca511 (patch) | |
tree | 1c8ba0a426230e764d891904bd517b5984161a6a /rescue/startssh | |
parent | de2b6195884f3f05a6a00aa1bcc76905e6623f42 (diff) | |
download | drakx-backup-do-not-use-0e6a75d7ab09a7c4ea4e4f861b744d40606ca511.tar drakx-backup-do-not-use-0e6a75d7ab09a7c4ea4e4f861b744d40606ca511.tar.gz drakx-backup-do-not-use-0e6a75d7ab09a7c4ea4e4f861b744d40606ca511.tar.bz2 drakx-backup-do-not-use-0e6a75d7ab09a7c4ea4e4f861b744d40606ca511.tar.xz drakx-backup-do-not-use-0e6a75d7ab09a7c4ea4e4f861b744d40606ca511.zip |
fix mounting /dev/pts & /dev/shm (mga#1023)
and do it in the right place
Diffstat (limited to 'rescue/startssh')
-rwxr-xr-x | rescue/startssh | 3 |
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 |