OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. | 3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. |
4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 | 6 |
7 # start sshd at os init time. | 7 # start sshd at os init time. |
8 | 8 echo "Enabling sshd." |
9 cp -pf sshd.conf /etc/init/sshd.conf | 9 cp -pf sshd.conf /etc/init/sshd.conf |
10 chmod 644 /etc/init/sshd.conf | 10 chmod 644 /etc/init/sshd.conf |
11 chown 0:0 /etc/init/sshd.conf | 11 chown 0:0 /etc/init/sshd.conf |
12 | 12 |
OLD | NEW |