summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/hostname
Commit message (Collapse)AuthorAgeFilesLines
* Remove the requirement for the FreeBSD keyword as it no longermtm2004-10-071-1/+0
| | | | | | | makes any sense. Discussed with: dougb, brooks MFC after: 3 days
* - Use "/bin/hostname" explicitly instead of "hostname".krion2004-04-021-2/+2
| | | | | Approved by: tobez MFC after: 1 week
* Overhaul the /etc/rc.d/diskless script by splitting it out intobrooks2004-03-231-0/+8
| | | | | | | | | | hostname, resolve, tmp, and var scripts. The latter three are new and were repo copied. These scripts no longer depend on being booted with and NFS root instead attempt to automaticly create mfs /tmp and /var volumes if the they are not writable. This behavior can be overridden in /etc/rc.conf. Reviewed by: luigi, pjd
* One tab too much.pjd2004-03-051-1/+1
|
* Teach 'hostname' script how to act inside a jail.pjd2004-03-051-4/+12
| | | | No objections from: mtm, arch@
* tty whacking should occur early, but not so early that themtm2003-07-301-1/+1
| | | | | | required commands are not on a mounted file system. Noticed by: bde
* Make ipfilter, ipnat, ipmon, and ipfs behave more like the old rc.mtm2003-04-241-1/+1
| | | | | | | | | | | | | o group them together so they run one right after another o use the NetBSD supplied ipfs script instead of tacking it on to the end of ipnat o Load the ipl module in ipnat and ipfilter, if it's not already loaded o In ipmon and ipnat show a warning if neither ipfilter nor ipnat is enabled or the ipl module is not loaded, and exit Approved by: markm (mentor) (implicit) Tested by: leafy <leafy@leafy.idv.tw>
* Break out and rewrite the network setup scripts.mtm2003-04-181-0/+51
o /etc/network.subr contains common subroutines used for seting up network interfaces o rc.d/hostname sets the hostname if not already set o rc.d/nisdomain sets the nis domain *after* rpcbind but before the yp* daemons. This fixes issues with temporary hangs when looking up informaion in nis before it's ready. o rc.d/netif brings network interfaces (minus dhcp) up. o rc.d/network1 has been disabled and will be retired before RELENG_5. It will be replaced by rc.d/netif Approved by: markm (mentor)
OpenPOWER on IntegriCloud