flatcar-scripts/mod_for_test_scripts/600autoStartSshd
ericli@google.com 66c440d687 Add scripts to modify a rootfs.image for testability.
Review URL: http://chromereview.prom.corp.google.com/1177024

git-svn-id: svn://chrome-svn/chromeos/trunk@91 06c00378-0e64-4dae-be16-12b19f9950a1
2009-10-26 21:40:12 +00:00

13 lines
312 B
Bash

#!/bin/bash
# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# start sshd at os init time.
cp -pf sshd.conf /etc/init/sshd.conf
chmod 644 /etc/init/sshd.conf
chown 0:0 /etc/init/sshd.conf