Usage: if{up,down,status} [] [-o ]
hwdesc may be the interface name or any valid description
of the corresponding device, for details see ifup(8).
Options are:
[on]boot : we are currently booting (or shutting down)
auto : alias for boot
hotplug : we are handling a hotplug event
manual : we do it manually (default, just needed with 'rc'
rc : we are called by a rc script (implies auto)
dhcp : we are called from dhcp client
prov= : use provider (for dial up interface)
nodeps : don't shut down interfaces depending on this
debug : be verbose
nosyslog : don't write to syslog even if USE_SYSLOG=yes
If options are contradictionary, last option wins. Unknown options
are simply ignored, so be careful.
阅读(1686) | 评论(0) | 转发(0) |