OLD | NEW |
---|---|
(Empty) | |
1 #!/bin/bash | |
2 | |
3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | |
4 # Use of this source code is governed by a BSD-style license that can be | |
5 # found in the LICENSE file. | |
6 | |
7 # $ROOT - The path to the target root file system. | |
8 # $SRC_ROOT - The path to the source tree. | |
9 | |
10 # netbase.postinst | |
11 | |
12 set -e | |
13 | |
14 cat > "${ROOT}/etc/hosts" <<EOF | |
15 127.0.0.1 localhost | |
16 | |
17 ::1 localhost ip6-localhost ip6-loopback | |
18 fe00::0 ip6-localnet | |
19 ff00::0 ip6-mcastprefix | |
20 ff02::1 ip6-allnodes | |
21 ff02::2 ip6-allrouters | |
22 ff02::3 ip6-allhosts | |
23 EOF | |
OLD | NEW |