/[baselayout]/branches/baselayout-1_12/net-scripts/init.d/net.lo
Gentoo

Log of /branches/baselayout-1_12/net-scripts/init.d/net.lo

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)

Revision 2050 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 2 20:02:40 2006 UTC (8 years, 1 month ago) by uberlord
File length: 30003 byte(s)
Diff to previous 2046
    Allow LC_* and LANG vars through to runscript.sh by default.

    net.lo now comes after bootmisc, #135118 thanks to Oldrich Jedlicka.

    arping.sh now has MAC address support, #134253 thanks to Oldrich Jedlicka.

    pppd.sh now updates secret files with a blank password, #134337

    Remove swapon call from /sbin/rc as localmount already calls it,
    partial fix for #134489

Revision 2046 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 24 19:27:27 2006 UTC (8 years, 2 months ago) by uberlord
File length: 29994 byte(s)
Diff to previous 2005
    Ensure that we call halt.sh in a new shell with LC_ALL=C so that we don't
    load any locale information which may stop us unmounting /usr, #128848
    and #133090.

    Don't set clock for OpenVZ systems, #133265 thanks to Kir Kolyshkin.

    Don't remount / in checkroot for unionfs /, #129975 thanks to Daniel.

    Don't stop net interfaces / is unionfs and a branch is network mounted.

Revision 2005 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 21 15:35:04 2006 UTC (8 years, 3 months ago) by uberlord
File length: 29751 byte(s)
Diff to previous 2000
move /lib/rcscripts/net.modules.d to /lib/rcscripts/net

Revision 2000 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 20 16:08:54 2006 UTC (8 years, 3 months ago) by uberlord
File length: 29761 byte(s)
Diff to previous 1997
Only treat lo and lo0 as loopback interfaces

Revision 1997 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 20 07:20:57 2006 UTC (8 years, 3 months ago) by uberlord
File length: 29766 byte(s)
Diff to previous 1965
Ensure that net.lo is started before other interfaces and wpa_supplicant has a positive timeout if no action file

Revision 1965 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 8 08:10:23 2006 UTC (8 years, 3 months ago) by uberlord
File length: 29697 byte(s)
Diff to previous 1962
Removed net.lo hotplug policy as that should be controlled by holdplug/udev and not baselayout

Revision 1962 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 7 22:37:04 2006 UTC (8 years, 3 months ago) by uberlord
File length: 30100 byte(s)
Diff to previous 1957
net modules now apply their own metric if they are activated, which makes
    for a much easier and less mesy calculation.

Revision 1957 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 3 11:55:18 2006 UTC (8 years, 3 months ago) by uberlord
File length: 30639 byte(s)
Diff to previous 1955
Fixed loading net .sh modules

Revision 1955 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 3 10:27:38 2006 UTC (8 years, 3 months ago) by uberlord
File length: 30636 byte(s)
Diff to previous 1954
    All net modules how have a .sh suffix to indicate that they are shell
    scripts as not everyone uses vim.

Revision 1954 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 3 09:43:42 2006 UTC (8 years, 3 months ago) by uberlord
File length: 30585 byte(s)
Diff to previous 1947
    runscript.sh now has a --nodeps option so that no depends are checked
    when starting and stopping a service.

    net.lo and system modules now support resolvconf instead of using our
    own internal system.

    DHCP and PPP clients no longer have helper scripts. As such they don't
    change service status at all. Moved helpers.d/functions back into net.lo

    Moved {get,save}_options from functions.sh to rc-services.sh

    Removed whole load of crud from hostname init script, fixes #38172 again
    and #122794. Also, it's no longer a critical service as defined by rc.

    Added net modules for ccwgroup (s390 qeth ethernet) and br2684ctl
    (speedtouch usb).

    Removed xargs and find from all net scripts as /usr maybe net mounted,
    #107260.

    Punted the domainname script. Functionality has been in conf.d/net so you
    can do this.

    ppd module now checks to see if link exists if prefixed with /, #126916.

Revision 1947 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 14 10:26:46 2006 UTC (8 years, 4 months ago) by uberlord
File length: 27725 byte(s)
Diff to previous 1940
Allow services that depend on net to be stopped/started in post
    up/down functions when the net service is started by rc.

Revision 1940 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 10 17:07:27 2006 UTC (8 years, 4 months ago) by uberlord
File length: 27663 byte(s)
Diff to previous 1935
    net script modules variables function has been moved into module_expose
    and removed from module_depend to be more correct.

    net script modules have had #!/bin/bash removed from the top and now
    set vim fs=sh to be more correct.

Revision 1935 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 2 17:34:25 2006 UTC (8 years, 4 months ago) by uberlord
File length: 27445 byte(s)
Diff to previous 1926
    $myservice is now deprecated for init scripts.
    $SVCNAME should be used instead and is read-only so it cannot be
    clobbered.

    Several variables in global scope that provided functions rely on,
    such as BOOTLEVEL, SOFTLEVEL and svcdir are now read only for init
    scripts.

    depscan.sh now accepts the --svcdir option so that svcdir can now be
    specified as the variable is marked readonly in functions.sh. Splash
    programs will have to be updated.

Revision 1926 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 24 11:47:40 2006 UTC (8 years, 4 months ago) by uberlord
File length: 27379 byte(s)
Diff to previous 1856
    Misc STYLE and quoting issues fixes in net scripts.

    dhclient and udhcpc now work with RFC violating space separated
    domain names in /etc/resolv.conf - they get appended to the search
    option if it's not specified.

    punted clean_pidfile and process_finished functions and as
    start-stop-daemon as provided by rc-daemon.sh now provides
    the same thing, just better.

Revision 1856 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 7 17:15:05 2006 UTC (8 years, 5 months ago) by uberlord
File length: 27379 byte(s)
Diff to previous 1834
    Always ensure the end_service is called, #119233 again.

    You can now specify a maxfail value for pppd (default 0), #115346.

    net.lo now depends on isapnp to work with older NICs, #121539.

    chat commands in pppd are now re-quoted, #121665.

    ip routing policies are now supports via the rule_eth0=( ... )
    variable (only supported by iproute2), #107628.

    wpa_supplicant now looks for config files in order
        /etc/wpa_supplicant/wpa_supplicant-$iface.conf
        /etc/wpa_supplicant/wpa_supplicant.conf
        /etc/wpa_supplicant.conf
    and for these wpa_cli scripts
        /etc/wpa_supplicant/wpa_cli.sh
        /sbin/wpa_cli.action


Revision 1834 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 19 12:24:44 2006 UTC (8 years, 6 months ago) by uberlord
File length: 27332 byte(s)
Diff to previous 1833
Give a better error message when no valid DHCP client is installed.
Tidy up some runscript logic.

Revision 1833 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 18 17:31:07 2006 UTC (8 years, 6 months ago) by uberlord
File length: 27315 byte(s)
Diff to previous 1829
We only hotplug net.* scripts on interfaces that are marked as ethernet.

Revision 1829 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 18 10:32:31 2006 UTC (8 years, 6 months ago) by uberlord
File length: 27105 byte(s)
Diff to previous 1826
Services should not get stuck in rc anymore, #119242.

Revision 1826 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 16 14:32:03 2006 UTC (8 years, 6 months ago) by uberlord
File length: 27292 byte(s)
Diff to previous 1805
Interfaces names with a dot in them now work.

Revision 1805 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 11 22:55:45 2006 UTC (8 years, 6 months ago) by uberlord
File length: 27226 byte(s)
Diff to previous 1800
inactive fixes

Revision 1800 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 11 12:49:38 2006 UTC (8 years, 6 months ago) by uberlord
File length: 26750 byte(s)
Diff to previous 1792
    runscript.sh now traps interrupt signals and rolls back its status to what
    it was when before it started.

    bonding module now supports space seperated and array variables, #118590.

Revision 1792 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 5 13:21:08 2006 UTC (8 years, 6 months ago) by uberlord
File length: 26759 byte(s)
Diff to previous 1785
Preserve addresses when starting from the background

Revision 1785 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 4 07:16:37 2006 UTC (8 years, 6 months ago) by uberlord
File length: 26715 byte(s)
Diff to previous 1783
more copyright updates

Revision 1783 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 3 15:57:13 2006 UTC (8 years, 6 months ago) by uberlord
File length: 26715 byte(s)
Diff to previous 1768
net scripts now works with bash-3.1-r2, #116352.

Revision 1768 - (view) (download) (annotate) - [select for diffs]
Modified Wed Dec 21 11:11:28 2005 UTC (8 years, 7 months ago) by uberlord
File length: 26721 byte(s)
Diff to previous 1760
    Add new variable RC_DOWN_INTERFACE and documentation so that interfaces
    are kept up for Wake On LAN support, #113880.

Revision 1760 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 13 09:57:14 2005 UTC (8 years, 7 months ago) by uberlord
File length: 26683 byte(s)
Diff to previous 1753
Ensure that calls from background never taken interface down

Revision 1753 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 9 15:08:06 2005 UTC (8 years, 7 months ago) by uberlord
File length: 26537 byte(s)
Diff to previous 1636
Remove nasty undocumented backgrounding as we now support
ifplugd, netplug and wpa_supplicant-0.4.x which do much better jobs.

Revision 1636 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 28 13:40:14 2005 UTC (8 years, 7 months ago) by uberlord
File length: 26701 byte(s)
Diff to previous 1629
Fixed fallback_routes, #113776

Revision 1629 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 24 13:44:26 2005 UTC (8 years, 8 months ago) by uberlord
File length: 26696 byte(s)
Diff to previous 1616
use ${svclib} instead of hardcoding /lib/rcscripts.

Revision 1616 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 18 18:39:15 2005 UTC (8 years, 8 months ago) by uberlord
File length: 26701 byte(s)
Diff to previous 1612
    Changed from eval foo=\"\$config_$ifvar\" to foo=config_$ivar; foo=$!foo
    This is to avoid using the eval statement to extract user configured vars.

    Enhanced pppd module so that it obeys metric routes, does not mess
    with the system resolv.conf and works with updetach a bit better, #112049.

    Fixed pointotpoint, #112757.


Revision 1612 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 10 10:36:43 2005 UTC (8 years, 8 months ago) by uberlord
File length: 26676 byte(s)
Diff to previous 1597
    Fix "Device foo not found" error when stopping an interface and the
    interface does not physically exist.


Revision 1597 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 4 21:16:40 2005 UTC (8 years, 8 months ago) by uberlord
File length: 26632 byte(s)
Diff to previous 1592
    udhcpc now checks the dhcp lease file for a valid IP address.

    We prefer iproute2 when stopping an interface by default.


Revision 1592 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 1 10:35:31 2005 UTC (8 years, 8 months ago) by uberlord
File length: 26475 byte(s)
Diff to previous 1591
tsort fix

Revision 1591 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 31 16:40:16 2005 UTC (8 years, 8 months ago) by uberlord
File length: 26422 byte(s)
Diff to previous 1590
Remove un-needed calls to sort | xargs in module after/use/need functions

Revision 1590 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 31 14:47:36 2005 UTC (8 years, 8 months ago) by uberlord
File length: 26687 byte(s)
Diff to previous 1588
Replace the bubble-esq sort routine with a tsort based one for
loading modules. This means that we are much faster than before :)

Fix ifconfig with multiple IP addresses, #110956

Revision 1588 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 28 09:56:38 2005 UTC (8 years, 8 months ago) by uberlord
File length: 27020 byte(s)
Diff to previous 1587
Fix force_modules in net.lo

Revision 1587 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 27 16:16:03 2005 UTC (8 years, 8 months ago) by uberlord
File length: 27237 byte(s)
Diff to previous 1566
    New net scripts depend calls - functions, variables and provide.
    This saves having to create 3 seperate functions in each module which means
    a saving of around 600-800 bytes per module.

    Split apipa out of arping module due to user demand for seperate
    functionality.

    arping module now works correctly.

    runscript sets RC_KILL_CHILDREN=no when restarting a service, otherwise
    things like your ssh session get killed.

    adsl module supports new rp-pppoe-3.6 ebuild, #102820

    Config profile is now changed correctly when doing 'rc foo' and you're in
    the default runlevel, #101105


Revision 1566 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 12 07:27:14 2005 UTC (8 years, 9 months ago) by uberlord
File length: 27011 byte(s)
Diff to previous 1565
More permament fix to stop #108960 happening again

Revision 1565 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 12 06:09:58 2005 UTC (8 years, 9 months ago) by uberlord
File length: 26985 byte(s)
Diff to previous 1537
Changed number of preferred modules from 3 to 4 in net.lo, #108960.

Revision 1537 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 14 11:30:45 2005 UTC (8 years, 10 months ago) by uberlord
File length: 26985 byte(s)
Diff to previous 1531
    netplug module renamed to netplugd for consistency

    pppd module added, #53954 thanks to Alin Nastac


Revision 1531 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 13 12:19:27 2005 UTC (8 years, 10 months ago) by uberlord
File length: 26984 byte(s)
Diff to previous 1503
Changed net.lo depend from isdn4linux to isdn, #102846

Revision 1503 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 7 11:45:00 2005 UTC (8 years, 10 months ago) by uberlord
File length: 26990 byte(s)
Diff to previous 1489
    updated env_whitelist so that nothing is allowed by default

    system module now runs through pre instead of post and is run by
    lo as well, so dns_ options can be configured for it

    netplug and wpa_supplicant understand negative timeouts to be defined
    as "return immediately and dont wait for success"

    dns options and sortlist now get merged in resolv.conf too

    bridge error message regarding the kernel module should work with
    newer versions of bridge-utils

Revision 1489 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 6 10:41:16 2005 UTC (8 years, 10 months ago) by uberlord
File length: 26971 byte(s)
Diff to previous 1418
    dns_*, nis_* and ntp_* options now work globally too, but are overridden
    by specific interface/essid/mac ones.

    dhcpcd and pump now support the "options" and "sortlist" directives too,
    #104870


Revision 1418 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 09:45:13 2005 UTC (8 years, 11 months ago) by uberlord
File length: 26960 byte(s)
Diff to previous 1412
RC_AUTO_INTERFACE defaults to NO - but we still default to DHCP

consoletype is now cached. This has the benefit of being very slightly
faster and you now get coloured text for parallel startup

Parallel startup also does parallel shutdown as well

You're now warned if you're using a deprecated conf.d/net syntax

Revision 1412 - (view) (download) (annotate) - [select for diffs]
Modified Sun Aug 14 15:27:56 2005 UTC (8 years, 11 months ago) by uberlord
File length: 26761 byte(s)
Diff to previous 1411
We don't expand routes

Revision 1411 - (view) (download) (annotate) - [select for diffs]
Modified Sun Aug 14 13:03:17 2005 UTC (8 years, 11 months ago) by uberlord
File length: 26868 byte(s)
Diff to previous 1395
fallback_route_eth0 now works again

Revision 1395 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 8 11:27:43 2005 UTC (8 years, 11 months ago) by uberlord
File length: 26669 byte(s)
Diff to previous 1383
    Add failup/faildown user functions when an interface fails to come up/go
    down. Fixes bug #101087.

Revision 1383 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 5 12:43:42 2005 UTC (8 years, 11 months ago) by uberlord
File length: 26232 byte(s)
Diff to previous 1382
Removed temp code for address expansion that did nothing - address expansion still works :p

Revision 1382 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 5 11:16:26 2005 UTC (8 years, 11 months ago) by uberlord
File length: 26530 byte(s)
Diff to previous 1379
Added # vim:ts=4 to all net-script files and re-indented

/dep{cache,tree} are now chmodded 0644 so users can read them

Revision 1379 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 4 22:28:28 2005 UTC (8 years, 11 months ago) by uberlord
File length: 27360 byte(s)
Diff to previous 1370
More anal about RHS quoting

Revision 1370 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 4 10:50:16 2005 UTC (8 years, 11 months ago) by uberlord
File length: 27127 byte(s)
Diff to previous 1362
interface state directories are now created with -m 0755 to ensure that
everyone can read them

rc-daemon.sh now supports multiple cmds - partial fix for #98745

Revision 1362 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 1 20:18:52 2005 UTC (8 years, 11 months ago) by uberlord
File length: 27119 byte(s)
Diff to previous 1343
We now only link /etc/{resolv,ntp,yp}.conf when the file exists.
    We now link back everything in the state dir except for .sv files.

Revision 1343 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 25 14:18:55 2005 UTC (9 years ago) by uberlord
File length: 27114 byte(s)
Diff to previous 1316
RC_AUTO_INTERFACE no longer symlinks /etc/{resolv,ntp,yp}.conf when no.

Revision 1316 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 19 09:47:47 2005 UTC (9 years ago) by uberlord
File length: 27144 byte(s)
Diff to previous 1298
 and  are now available in predown() - fixes #99106

Revision 1298 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 14 10:59:34 2005 UTC (9 years ago) by azarah
File length: 26927 byte(s)
Diff to previous 1292
Branch baselayout-1.12.

Revision 1292 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 12 06:58:47 2005 UTC (9 years ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 26927 byte(s)
Diff to previous 1275
removed dep on logger - was causing circular deps when syslog-ng depends on us

Revision 1275 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 5 05:42:39 2005 UTC (9 years ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 26897 byte(s)
Diff to previous 1271
Fix hotplug policy exiting

Revision 1271 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 3 16:24:44 2005 UTC (9 years ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 26839 byte(s)
Diff to previous 1270
    Fixed module depends in net.lo

    Remove the 'no net scripts in boot runlevel' restriction as we now
    have a hotplug policy setup instead


Revision 1270 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 2 16:59:15 2005 UTC (9 years ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 26618 byte(s)
Diff to previous 1269
Fixed error reporting for modules=( foo ) and foo isn't installed

Revision 1269 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 2 15:34:55 2005 UTC (9 years ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 27023 byte(s)
Diff to previous 1258
net.lo no longer needs find or diff

Revision 1258 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 28 11:44:18 2005 UTC (9 years ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 27017 byte(s)
Diff to previous 1257
    wpa_supplicant now respects the background=no option if
    wpa_suppliant>=0.4.0 is installed

    fixed network dependencies some more

    You can now restart a script marked starting/inactive

    Documented the use of the RC_USE_CONFIG_PROFILE variable in conf.d/rc

    udhcpc now removes stale pidfiles


Revision 1257 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 24 14:53:23 2005 UTC (9 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 27779 byte(s)
Diff to previous 1254
net.lo will not take down the interface if it does not exist and starting
failed to work

Revision 1254 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 20 22:58:21 2005 UTC (9 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 27748 byte(s)
Diff to previous 1251
added hotplug policy check for interface name #78495

Revision 1251 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 20 15:49:41 2005 UTC (9 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 27386 byte(s)
Diff to previous 1236
ifconfig now reports correct MAC address

ifconfig and iproute2 now support mtu_eth0 option

net.lo attemts to arping the requested address when RC_AUTO_INTERFACE==yes
	    


Revision 1236 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 13 10:21:12 2005 UTC (9 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 27367 byte(s)
Diff to previous 1200
etc/{resolv,ntp,yp}.conf now link to /var/lib/net-scripts

Revision 1200 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 26 21:11:55 2005 UTC (9 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 25667 byte(s)
Diff to previous 1195
You can now configure all options via the MAC address of your network card
and the MAC address of AP you connect to like so
config_001122334455=( "192.168.0.2/24 brd +")
Fixes the last part of #52975

The old way of configuring for the MAC address of the AP is no longer
supported


Revision 1195 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 25 10:20:19 2005 UTC (9 years, 2 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 25325 byte(s)
Diff to previous 1161
    networking now expands configuration parameters - fixes #91564
    so config_eth0=( "192.168.{1..3}.{1..3}/24 brd +" ) expands into
    config_eth0=(
       "192.168.1.1/24 brd +"
       "192.168.1.2/24 brd +"
       "192.168.1.3/24 brd +"
       "192.168.2.1/24 brd +"
       "192.168.2.2/24 brd +"
       "192.168.2.3/24 brd +"
       "192.168.3.1/24 brd +"
       "192.168.3.2/24 brd +"
       "192.168.3.3/24 brd +"
    )

    updated ESSID variables example in wireless.example - fixes #92469


Revision 1161 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 16 18:47:08 2005 UTC (9 years, 2 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24714 byte(s)
Diff to previous 1158
unset exit instead of overriding it


Revision 1158 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 16 18:27:11 2005 UTC (9 years, 2 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24745 byte(s)
Diff to previous 1124
net.lo bypasses the exit() function now provided by runscript.sh


Revision 1124 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 2 11:08:56 2005 UTC (9 years, 2 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24558 byte(s)
Diff to previous 1104
Fix user function hooks for echoing to stdout and protecting our vars


Revision 1104 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 25 07:26:30 2005 UTC (9 years, 3 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24596 byte(s)
Diff to previous 1103
iproute2 now handles mtu the same way as ifconfig - fixes #90242

net.lo no longer errors when using postdown and postup functions


Revision 1103 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 22 14:42:57 2005 UTC (9 years, 3 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24572 byte(s)
Diff to previous 1096
Address network routes now get metrics applied as well
(ie a route automatically added when an address is added)

net.lo no longer errors when exlcuding modules who are installed


Revision 1096 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 18 17:10:41 2005 UTC (9 years, 3 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24576 byte(s)
Diff to previous 1086
Changed "sed -ne" to "sed -n -e" for portability.

Added auto_interface (default yes).
if auto_interface is yes then we
   *) default to dhcp
   *) automatically calculate a metric (this may need work)
   *) select the best interface based on metric
      (restore resolv.conf, ntp.conf and yp.conf we have saved)
otherwise we
   *) default to null

wpa_supplicant no longer kills itself when we're not stopping the interface
it's running on.

wpa_supplicant now uses wpa_monitor (yet to be released) if available.

Added a new module called system which enables the definition of domain
name, dns servers, ntp servers, nis domain and nis servers per interface.
essidnet and dhcp helpers have been re-coded around this module.


Revision 1086 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 14 09:32:33 2005 UTC (9 years, 3 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 23775 byte(s)
Diff to previous 1083
Fixed ifconfig and iproute2 erroring from new lo code - fixes #88006

If /proc/net/netlink does not exist then iproute2 will fail the
check_installed function with an appropriate error - Thanks to
Jeremy Huddleston for the patch.

If /proc/net/packet does not exist then wpa_supplicant will fail
check_installed function with an appropriate error

Background fixes for net.lo, udhcpc and wpa_supplicant


Revision 1083 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 11 13:42:06 2005 UTC (9 years, 3 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 23642 byte(s)
Diff to previous 1077
removed ${devnull} from net.lo and net-script modules
updated all modules not to re-direct stderr where appropriate

iwconfig and wpa_supplicant now save their current ESSID via save_options
and reload it in their pre_stops so that ${ESSID} and ${ESSIDVAR} can be
used in users custom postdown functions


Revision 1077 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 8 17:13:43 2005 UTC (9 years, 3 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 23730 byte(s)
Diff to previous 1029
added a bash_variable to functions.sh which converts the given string
into a variable that bash can use - fixes #88175

net scripts can only launch if we're not in ${BOOTLEVEL}


Revision 1029 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 8 16:04:18 2005 UTC (9 years, 4 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 23722 byte(s)
Diff to previous 1021
rc-services.sh now does a /sbin/depscan.sh -u if we have not got
our deptree loaded

removed net_start/stop function from net.lo, bridge and bonding

net.lo now supports depend() per interface like so
depend_br0() { need net.eth0 net.eth1 }


Revision 1021 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 3 14:06:51 2005 UTC (9 years, 4 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24365 byte(s)
Diff to previous 1018
if no net.$iface script exists, blunder ahead


Revision 1018 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 3 14:00:48 2005 UTC (9 years, 4 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24271 byte(s)
Diff to previous 947
bridging and bonding modules now start an interface if it's not
marked as started


Revision 947 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 10 17:04:03 2005 UTC (9 years, 5 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 23996 byte(s)
Diff to previous 915
net.lo now supports fallback_route - fixes #75676
due to bash limitations, only one fallback route is supported

cleaned up dhcp helper

iproute now appends routes instead of adding them - this allows multiple
default routes

RC_STRICT_NET_CHECKING now supports the none "option" which means
that the net service is always up


Revision 915 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 4 10:36:39 2005 UTC (9 years, 5 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 23733 byte(s)
Diff to previous 872
It's now possible to configure addresses and routes for the loopback
interface if required - however you cannot override our defaults

wpa_supplicant and iwconfig now loop for 5 seconds if essid is
not returned straight away

fixed depends error in run_script


Revision 872 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 27 12:37:06 2005 UTC (9 years, 5 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 23313 byte(s)
Diff to previous 870
removed udhcpc-* and dhclient-* helper modules and replaced them with a
generic dhcp module which caters for all interfaces and dhcp clients that
need it.
We now prefer iproute2 over ifconfig if both are installed.


Revision 870 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 25 10:44:05 2005 UTC (9 years, 5 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 23733 byte(s)
Diff to previous 868
Updated copyright headers


Revision 868 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 24 18:34:05 2005 UTC (9 years, 5 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 23756 byte(s)
Diff to previous 867
STYLE fixes to many net-scripts modules
Removed hardcoded Version and replaced with cvs $Header:


Revision 867 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 24 11:45:03 2005 UTC (9 years, 5 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24232 byte(s)
Diff to previous 859
replaced awk commands with sed equivalents in net-scripts to make us
more portable


Revision 859 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 17 15:39:02 2005 UTC (9 years, 6 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24474 byte(s)
Diff to previous 857
all modules should now check interface existance correctly - fixes #76385


Revision 857 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 17 12:02:21 2005 UTC (9 years, 6 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24455 byte(s)
Diff to previous 854
null and noop fixed for config_worked


Revision 854 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 17 10:10:33 2005 UTC (9 years, 6 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24419 byte(s)
Diff to previous 849
net.lo changed logic to read "only fail if no configuration parameters
work, bring interface down and abort". Fixes #78092


Revision 849 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 13 23:58:34 2005 UTC (9 years, 6 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24415 byte(s)
Diff to previous 837
allow pure IPv6 addresses - fixes #73844


Revision 837 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 12 14:24:45 2005 UTC (9 years, 6 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24394 byte(s)
Diff to previous 833
net.lo now ignores dot files when loading modules


Revision 833 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 12 02:38:23 2005 UTC (9 years, 6 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24381 byte(s)
Diff to previous 832
noop sanity fixes


Revision 832 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 11 16:21:00 2005 UTC (9 years, 6 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24172 byte(s)
Diff to previous 816
added "noop" config parameter which means take no action if the interface
is up and has an address configured, otherwise continue
addresses are now removed when starting an interface - fixes #77111


Revision 816 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 4 15:34:33 2005 UTC (9 years, 6 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 23556 byte(s)
Diff to previous 778
bridge now marks interfaces as UP - fixes #75354
net.lo tests the return value of modprobe - fixes #76385
iwconfig now sets enc keys through an eval statement - fixes #76601
updated wireless.example for whitespace in keys


Revision 778 - (view) (download) (annotate) - [select for diffs]
Modified Sun Dec 12 10:50:18 2004 UTC (9 years, 7 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 23504 byte(s)
Diff to previous 772
fixed installed typo in net.lo - fixes #74152. Thanks to Federico Galassi


Revision 772 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 9 17:07:57 2004 UTC (9 years, 7 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 23503 byte(s)
Diff to previous 762
fixed net.lo getting vlan config


Revision 762 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 7 15:10:14 2004 UTC (9 years, 7 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 23457 byte(s)
Diff to previous 761
ifconfig and iproute2 now support function interface_set_mac_address
macchanger no longer depends on macchanger if configuring a specific
mac address


Revision 761 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 7 13:06:59 2004 UTC (9 years, 7 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 23442 byte(s)
Diff to previous 759
essidnet - fixed setting up search domains
ifconfig now reads the old gateway variable correctly - fixes #73607
iwconfig now supports backgrounding


Revision 759 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 6 23:34:55 2004 UTC (9 years, 7 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 23397 byte(s)
Diff to previous 751
added rc-script statuses "starting" and "inactive"
dhcpcd, udhcpc and dhclient now support backgrounding - fixes #52975


Revision 751 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 4 22:08:52 2004 UTC (9 years, 7 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 23134 byte(s)
Diff to previous 722
removed modules use dependancy in net.lo and added installed
- this allows use to provide "virtual" modules which are only "installed"
  when other depended modules are installed


Revision 722 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 26 09:14:05 2004 UTC (9 years, 7 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24016 byte(s)
Diff to previous 718
Fixed up address detection in apipa
net.lo now checks for duplicate static IPv4 addresses before assigning
iwconfig now supports preassociate and postassociate user hooks
net.example - changed $1 to ${IFACE} in examples


Revision 718 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 24 15:06:40 2004 UTC (9 years, 7 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 23684 byte(s)
Diff to previous 714
Stopped user setting MODULES_DIR


Revision 714 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 23 16:23:39 2004 UTC (9 years, 8 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 23711 byte(s)
Diff to previous 713
Removed rp_filter setting - fixes first part of bug #71971
Added sysctl.conf settings relating to rp_filter to sysctl.conf
- fixes last part of bug #71971


Revision 713 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 23 15:39:22 2004 UTC (9 years, 8 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24046 byte(s)
Diff to previous 705
iproute2 does not need to create dummy interfaces for aliases
unlike ifconfig so we no longer do this
We now bring down all aliases and addresses properly
Split off some functions from net.lo into helpers.d/functions
so that our DHCP helper scripts can use them too :)
Deprecated interface specific setup in favour of a generic config
macchanger brings interface up now - fixes #71929
DHCP over VLAN now works - fixes #71860
Disabled modified function checking as it's far too expensive on CPU
and still isn't 100% reliable
When specifing a module that isn't emerged, you now get an error
telling you what to emerge
Removed -p option from the diff call used for function removal


Revision 705 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 17 10:33:54 2004 UTC (9 years, 8 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24631 byte(s)
Diff to previous 704
Fixed invalid variable handling in bonding and vlan - bug #71419
apipa now brings the interface up before testing if address exists


Revision 704 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 17 10:00:34 2004 UTC (9 years, 8 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24627 byte(s)
Diff to previous 702
We now buffer module_provides in a PROVIDES array localised inside
  modules_load in net.lo


Revision 702 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 16 15:17:10 2004 UTC (9 years, 8 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24248 byte(s)
Diff to previous 701
We no longer default a fallback to APIPA when no config is given
net.example fleshed out a bit more for dhcpcd - fixes #60845
Improved forced module handling a touch
modules_sort and modules_check_user in net.lo buffer _provides,
_before and _after in arrays to avoid shelling out


Revision 701 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 16 11:13:50 2004 UTC (9 years, 8 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24024 byte(s)
Diff to previous 698
Improved force module loading a bit
Better force module documentation


Revision 698 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 15 18:51:54 2004 UTC (9 years, 8 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24043 byte(s)
Diff to previous 691
Split modules_load into smaller more managable functions in net.lo
Added modules_force option to net.lo with a big phat warning in
  net.example about it potentially breaking networking
Fixed indentation problem in ifconfig


Revision 691 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 15 14:14:26 2004 UTC (9 years, 8 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 22349 byte(s)
Diff to previous 688
Removed second warning in net.lo when configuration not set
Fixed random address range in apipa


Revision 688 - (view) (download) (annotate) - [select for diffs]
Modified Sat Nov 13 09:53:56 2004 UTC (9 years, 8 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 22336 byte(s)
Diff to previous 686
Added arping duplicate address detection to net.lo
Created Automatic Private IP Addressing (APIPA) module
Bonding is now started pre instead of post


Revision 686 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 12 17:51:14 2004 UTC (9 years, 8 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 21614 byte(s)
Diff to previous 685
Added dependancy checking to ipppd
Bonding is now started pre instead of post
Fixed missing changes of get_type to interface_type and get_variable to
  interface_variable


Revision 685 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 12 12:21:55 2004 UTC (9 years, 8 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 21608 byte(s)
Diff to previous 675
Fixed iface variable in dhcp modules for vlans
Changed get_device to interface_device
Changed get_type to interface_type
Added vlan configuration options and documented them in net.example
Fixed bridge configuration handling
Removed _get_vlans from iproute2 and ifconfig as vlan now does it itself


Revision 675 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 5 17:03:08 2004 UTC (9 years, 8 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 21429 byte(s)
Diff to previous 674
net-scripts/net.modules.d/bridge
- fixed destroying a bridge if no ports were added
- starts interfaces if they don't exist - fixed bug #65153

net-scrips/net.modules.d/bonding
- starts interfaces if they don't exist

net-scripts/init.d/net.lo
- added net_start() function to start depandant ifaces
  so that bridge br0 can active tun0 which net.tun0 has to create


Revision 674 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 5 14:32:33 2004 UTC (9 years, 8 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 20950 byte(s)
Diff to previous 672
    net-scripts/init.d/net.lo
    - added use dependany on wlan incase we're using linux-wlan-ng drivers
      fixes bug #64978
    - moved start() to run_start() and stop() to run_stop()
      created run() and new start()/stop() functions
      this is so that we have one single entry point to localise variables
      and to remove any added functions loaded by our modules
    - removed redundant interface_exists() as it's provided by
      ifconfig and/or iproute2

    net-scripts/net.modules.d/ifconfig and iproute2
    - added ifconfig_tunnel and iproute2_tunnel functions

    addred gre/ipip tunnel support via the the tunnel module
    - fixes bug #50765


Revision 672 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 4 21:42:07 2004 UTC (9 years, 8 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 20694 byte(s)
Diff to previous 670
    net.lo - added get_type function to return the type of the interface
    - eth, ippp, etc

    ipppd, tuntap
    - start() moved to pre_start() and we now test by type
      this means you no longer need ifconfig_ippp0=( "isdn" "dhcp" )
      as ippp0 is always an isdn device

    bridge - fixed stop function and moved start() to pre_start()
      and automatically start if the variable bridge_${iface} exists

    net.example - fixed up documentation for changed behaviour above


Revision 670 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 4 16:20:25 2004 UTC (9 years, 8 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 20563 byte(s)
Diff to previous 667
   net-scripts/init.d/net.lo
    - we remove all added functions when restarting an interface
      this relies on the diff command being available

    added isdn support via the new ipppd module

    net-scripts/conf.d/net.example
    - added sample isdn setup

    net-scripts/conf.d/wireless.example
    - added better descriptions to the _sleep variables

    Fixed boolean logic error when testing is_net_up in /sbin/runscript.sh
    - fixed bug #70022


Revision 667 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 3 19:02:25 2004 UTC (9 years, 8 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 20118 byte(s)
Diff to previous 664
net.lo update


Revision 664 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 3 10:32:25 2004 UTC (9 years, 8 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 20010 byte(s)
Diff to previous 663
inet6 fixes - bug #65417


Revision 663 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 2 16:28:07 2004 UTC (9 years, 8 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 19952 byte(s)
Diff to previous 655
    net-scripts/init.d/net.lo
    - modprobe ${IFACE} when ${IFACE} does not exist


Revision 655 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 1 16:24:04 2004 UTC (9 years, 8 months ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 19571 byte(s)
Diff to previous 643
*** empty log message ***


Revision 643 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 25 21:22:04 2004 UTC (9 years, 8 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 17461 byte(s)
Diff to previous 626
more net-scripts fixes, related to module loading and stopping aliases


Revision 626 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 18 23:10:20 2004 UTC (9 years, 9 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 16771 byte(s)
Diff to previous 625
In net.lo, use eindent for output of pre/post scripts


Revision 625 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 18 23:03:19 2004 UTC (9 years, 9 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 16638 byte(s)
Diff to previous 607
Add v-e-commands (veinfo, vbegin, etc) to sbin/functions.sh that
depend on RC_VERBOSE which defaults to no. Add --verbose to args
understood by runscript.sh.

Use veinfo and friends in net-scripts/init.d/net.lo when loading
modules since this information is confusing to users.

Always load global "modules" setting in following "modules_iface"
since this is a little easier for users to understand.


Revision 607 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 13 18:39:18 2004 UTC (9 years, 9 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 16387 byte(s)
Diff to previous 605
Cosmetic fixes for starting loopback interface


Revision 605 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 13 17:13:49 2004 UTC (9 years, 9 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 16398 byte(s)
Diff to previous 602
Install net.modules.d to /lib/rcscripts instead of /etc so we
don't have to deal with CONFIG_PROTECT

Fix diff code in modules_load so it can identify which functions
have been modified

Fix fallback mechanism in iface_start so that it works correctly
and doesn't report a bogus error message when trying the fallback

Get rid of need_begin trickery in iface_stop

Simplify eend processing in dhcp modules

Implement eindent, eoutdent, esetdent in functions.sh and adjust
net-scripts to use them.

Re-write einfo, ewarn, eerror, ebegin, eend, ewend to use
RC_INDENTATION and to work better on serial terminals

Remove conf.d/net.ppp0 since that is provided by net-dialup/ppp


Revision 602 - (view) (download) (annotate) - [select for diffs]
Modified Sun Oct 10 03:11:48 2004 UTC (9 years, 9 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 15477 byte(s)
Diff to previous 597
Create NET_FS_LIST and is_net_fs in functions.sh and use them in checkroot, localmount, netmount, net.example, and net.lo


Revision 597 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 7 01:06:13 2004 UTC (9 years, 9 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 15344 byte(s)
Diff to previous 556
Update to net-scripts 1.0.2 from Roy


Revision 556 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 15 20:48:13 2004 UTC (9 years, 10 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 15068 byte(s)
Diff to previous 554
remove extraneous \n from eerror


Revision 554 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 15 16:56:29 2004 UTC (9 years, 10 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 15070 byte(s)
Diff to previous 549
update to version 1.0 of net-scripts from Roy

add default conf.d/net which is blank except for a short comment referring to net.example


Revision 549 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 14 16:49:40 2004 UTC (9 years, 10 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 15033 byte(s)
Diff to previous 548
update to 0.6.4 from Roy


Revision 548 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 14 16:44:41 2004 UTC (9 years, 10 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 14570 byte(s)
Diff to previous 547
Update to 0.6.3 from Roy


Revision 547 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 13 03:16:11 2004 UTC (9 years, 10 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 14631 byte(s)
Diff to previous 546
Detect infinite loops when sorting modules


Revision 546 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 12 03:15:38 2004 UTC (9 years, 10 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 14284 byte(s)
Diff to previous 545
Fix sorting of after/before/need/use variables.  The arguments are
space-separated, not newline-separated, so they need to be massaged
before sorting.  Sort the arguments on calling the
after/before/need/use callback rather than while sorting modules; this
should speed things up since they won't be sorted every time through
the loop in modules_load

Use some descriptive variable names in modules_load: loaded_interface,
changed_something, tmp, modnums, missingdeps.  Try to avoid re-using
variables for different purposes

Don't test true or false in [[ ]], instead call them directly

Remove an unnecessary eval when setting umods

Use sort -n for sorting the modules numerically

Normalize spacing for loops: for ((var=0; ...))


Revision 545 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 10 15:53:24 2004 UTC (9 years, 10 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 13738 byte(s)
Diff to previous 535
update to net-scripts-0.6.2


Revision 535 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 12 22:10:30 2004 UTC (9 years, 11 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 12100 byte(s)
Diff to previous 534
- changes from UberLord, in particular before/after dep processing


Revision 534 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 12 04:29:53 2004 UTC (9 years, 11 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 11030 byte(s)
Diff to previous 532
- Get rid of "interface" and "interface_provides" functions, instead
  dynamically generate class functions instead when modules are
  loaded.
- Double-check when loading modules to make sure that functions aren't
  replaced
- Sanity check user-specified module list to make sure none conflict
- Get ride of IFMODULE


Revision 532 - (view) (download) (annotate) - [select for diffs]
Added Wed Aug 11 19:53:29 2004 UTC (9 years, 11 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 10378 byte(s)
version 0.5.0 of Roy "UberLord" Marple's modular networking scripts


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sticky Revision:

  ViewVC Help
Powered by ViewVC 1.1.20