netstart
来自「早期freebsd实现」· 代码 · 共 31 行
TXT
31 行
#!/bin/sh -## @(#)netstart 8.1 (Berkeley) 7/23/93routedflags=-qtimedflags=YESrwhod=NO# myname is my symbolic name# my-netmask is specified in /etc/networks#hostname=myname.my.domainhostname $hostnameifconfig ace0 inet $hostname netmask my-netmaskifconfig ex0 inet $hostname netmask my-netmaskifconfig imp0 inet $hostnameifconfig le0 inet $hostname netmask my-netmaskifconfig ne0 inet $hostname netmask my-netmaskifconfig we0 inet $hostname netmask my-netmask# For en ethernet interface, load microcode before ifconfig# /etc/enpload /dev/enp0ram /etc/enpcode > /dev/console 2>&1ifconfig en0 inet $hostname netmask my-netmask# set the address for the loopback interfaceifconfig lo0 inet localhost# use loopback, not the wireroute add $hostname localhost
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?