- clean environment before ifup/ifdown start (etcnet has problems)
This commit is contained in:
parent
5208ae9ae8
commit
66868bf5af
@ -2,7 +2,7 @@
|
||||
|
||||
Name: alterator-net-tcp
|
||||
Version: 0.5
|
||||
Release: alt1
|
||||
Release: alt2
|
||||
|
||||
Packager: Stanislav Ievlev <inger@altlinux.org>
|
||||
|
||||
@ -47,6 +47,9 @@ alterator module for tcp/ip connections configuration
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Feb 07 2007 Stanislav Ievlev <inger@altlinux.org> 0.5-alt2
|
||||
- clean environment before ifup/ifdown start (etcnet has problems)
|
||||
|
||||
* Mon Feb 05 2007 Stanislav Ievlev <inger@altlinux.org> 0.5-alt1
|
||||
- add card description to interface list
|
||||
- fix wrong grep (/eth0/eth/)
|
||||
|
@ -2,13 +2,23 @@
|
||||
|
||||
################### shell file helpers
|
||||
|
||||
ifdumptool="/etc/net/scripts/contrib/ifdump"
|
||||
ifup="/sbin/ifup"
|
||||
ifdown="/sbin/ifdown"
|
||||
run_ifup()
|
||||
{
|
||||
env -i PATH="$PATH" HOME="$HOME" TMPDIR="$TMPDIR" /sbin/ifup
|
||||
}
|
||||
|
||||
run_ifdown()
|
||||
{
|
||||
env -i PATH="$PATH" HOME="$HOME" TMPDIR="$TMPDIR" /sbin/ifdown
|
||||
}
|
||||
|
||||
ifdumptool="/etc/net/scripts/contrib/ifdump"
|
||||
ifup="run_ifup"
|
||||
ifdown="run_ifdown"
|
||||
|
||||
. /etc/net/scripts/functions
|
||||
|
||||
|
||||
shell_add_or_subst()
|
||||
{
|
||||
local name="$1" && shift
|
||||
|
Loading…
x
Reference in New Issue
Block a user