1
0
mirror of synced 2026-02-05 23:44:48 +00:00
Files
xen-tools.xen-tools/etc/hook.d/70-install-ssh
steve 606b6758f7 2005-12-25 02:16:00 by steve
Added headers to each script and made some minor updates for some.
2005-12-25 02:16:00 +00:00

15 lines
327 B
Bash
Executable File

#!/bin/sh
#
# This script installs OpenSSH upon the new system.
#
# Steve
# --
# $Id: 70-install-ssh,v 1.3 2005-12-25 02:16:00 steve Exp $
prefix=$1
chroot ${prefix} /usr/bin/apt-get update
DEBIAN_FRONTEND=noninteractive chroot ${prefix} /usr/bin/apt-get --yes --force-yes install ssh
chroot ${prefix} /etc/init.d/ssh stop