aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorMiloslav Trmac <mitr@volny.cz>2006-03-19 14:56:47 +0000
committerMiloslav Trmac <mitr@volny.cz>2006-03-19 14:56:47 +0000
commitff24397011ffa2d921051ae42efcd8eef7f15010 (patch)
treee4abbd8783844d0edbe23984567deef71b358674 /sysconfig/network-scripts
parent0a0bb655b2041c0978c768586c2f1057b80e816c (diff)
downloadinitscripts-ff24397011ffa2d921051ae42efcd8eef7f15010.tar
initscripts-ff24397011ffa2d921051ae42efcd8eef7f15010.tar.gz
initscripts-ff24397011ffa2d921051ae42efcd8eef7f15010.tar.bz2
initscripts-ff24397011ffa2d921051ae42efcd8eef7f15010.tar.xz
initscripts-ff24397011ffa2d921051ae42efcd8eef7f15010.zip
Undefine $WINDOW to avoid conflict with screen(1) (#174336)
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-xsysconfig/network-scripts/ifdown2
-rwxr-xr-xsysconfig/network-scripts/ifup2
2 files changed, 4 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown
index e4635fe5..ab101760 100755
--- a/sysconfig/network-scripts/ifdown
+++ b/sysconfig/network-scripts/ifdown
@@ -1,5 +1,7 @@
#!/bin/bash
+unset WINDOW # defined by screen, conflicts with our usage
+
. /etc/init.d/functions
cd /etc/sysconfig/network-scripts
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index 53e519b0..1406a74e 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -9,6 +9,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+unset WINDOW # defined by screen, conflicts with our usage
+
. /etc/init.d/functions
cd /etc/sysconfig/network-scripts