/[baselayout]/trunk/init.d/hostname
Gentoo

Diff of /trunk/init.d/hostname

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 483 Revision 484
1#!/sbin/runscript 1#!/sbin/runscript
2# Copyright 1999-2003 Gentoo Technologies, Inc. 2# Copyright 1999-2004 Gentoo Technologies, Inc.
3# Distributed under the terms of the GNU General Public License v2 3# Distributed under the terms of the GNU General Public License v2
4# $Header$ 4# $Header$
5 5
6# This only set what /bin/hostname returns. If you need to setup NIS, meaning 6# This only set what /bin/hostname returns. If you need to setup NIS, meaning
7# what /bin/domainname returns, please see: 7# what /bin/domainname returns, please see:
8# 8#
9# http://www.linux-nis.org/nis-howto/HOWTO/ 9# http://www.linux-nis.org/nis-howto/HOWTO/
10# 10#
11# To have a proper FQDN, you need to setup /etc/hosts and /etc/resolv.conf 11# To have a proper FQDN, you need to setup /etc/hosts and /etc/resolv.conf
12# properly (domain entry in /etc/resolv.conf, and FQDN in /etc/hosts). 12# properly (domain entry in /etc/resolv.conf, and FQDN in /etc/hosts).
13
14 13
15depend() { 14depend() {
16 need checkroot 15 need checkroot
17} 16}
18 17

Legend:
Removed from v.483  
changed lines
  Added in v.484

  ViewVC Help
Powered by ViewVC 1.1.20