git: ifconfig(8): Add option -n to disable auto module loading

Aaron LI aly at crater.dragonflybsd.org
Sat Dec 8 03:50:19 PST 2018


commit 13d73250676eae52cdf84768cfcf9c792b81d01b
Author: Aaron LI <aly at aaronly.me>
Date:   Tue Nov 27 12:05:58 2018 +0800

    ifconfig(8): Add option -n to disable auto module loading
    
    This option may be used by rc scripts to disable the auto loading of
    network modules when try to configure/stop a non-existent interface.
    e.g., `ifconfig tap0` will auto load `if_tap.ko` when `tap0` doesn't
    exist yet.
    
    Taken-from: FreeBSD (r169873)

Summary of changes:
 sbin/ifconfig/ifconfig.8 | 11 ++++++++++-
 sbin/ifconfig/ifconfig.c | 17 +++++++++++++----
 2 files changed, 23 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/13d73250676eae52cdf84768cfcf9c792b81d01b


-- 
DragonFly BSD source repository



More information about the Commits mailing list