more netcfg fixes

This commit is contained in:
Tobias Powalowski 2009-11-26 20:27:32 +01:00
parent 05852a9d82
commit c02acdfa83
3 changed files with 45 additions and 3 deletions

View file

@ -39,8 +39,8 @@ install ()
add_dir "/var/state/dhcp"
# add ifplugd support
add_file "/etc/rc.d/ifplugd"
add_file ""/usr/share/archboot/net/etc/ifplugd/ifplugd.action" "/etc/ifplugd/ifplugd.action"
add_file ""/usr/share/archboot/net/etc/ifplugd/ifplugd.conf" "/etc/ifplugd/ifplugd.conf"
add_file "/etc/ifplugd/ifplugd.action"
add_file "/usr/share/archboot/net/etc/ifplugd/ifplugd.conf" "/etc/ifplugd/ifplugd.conf"
# fixing licenses
add_file "/usr/share/licenses/db/LICENSE"
add_file "/usr/share/licenses/dhcpcd/LICENSE"

View file

@ -26,7 +26,7 @@ install ()
add_file "/etc/rc.d/net-auto-wired"
add_file "/etc/rc.d/net-auto-wireless"
add_file "/usr/share/archboot/netcfg/etc/iftab" "/etc/iftab"
add_file "/usr/share/archboot/netcfg/etc/ifplugd/netcfg.action" "/etc/ifplugd/netcfg.action"
add_file "/etc/ifplugd/netcfg.action"
# fix licenses
add_file "/usr/share/licenses/netcfg/LICENSE"
}

View file

@ -0,0 +1,42 @@
# -*-sh-*-
# $Id: ifplugd.conf 43 2003-09-13 11:25:11Z lennart $
# This file is part of ifplugd.
#
# ifplugd is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2 of the License, or (at your
# option) any later version.
#
# ifplugd is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with ifplugd; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
# ifplugd configuration file
# Please note that this is a bourne shell fragment sourced by the
# init script of ifplugd.
# Specify the interfaces to control here, separated by spaces.
# Ifplugd processes will be started for each of these interfaces when
# the ifplugd init script is called with the "start" argument. You may
# use the magic string "auto" to make the init script start or stop
# ifplugd processes for ALL eth and wlan interfaces that are available
# according to /proc/net/dev. Note that the list of interfaces
# appearing in /proc/net/dev may depend on which kernel modules you
# have loaded.
NET_IFS="eth0"
# Additional parameters for ifplugd.
# (Run "ifplugd -h" for further information.)
ARGS="-fwI -u0 -d10"
# Additional parameters for ifplugd for the specified interface. Note
# that $ARGS is ignored, when a variable like this is set for an
# interface
#ARGS_wlan0="-MwI -u5 -d5"