From a1d054befa0592beee2ae5459e5552f408ff1eaa Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Fri, 12 Jun 2009 12:12:02 -0500 Subject: [PATCH] change config file from network-interface to just network, matches "disk" Signed-off-by: Dustin Kirkland --- bin/network-down | 4 ++-- bin/network-up | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/network-down b/bin/network-down index d08ed91d..2c05ec52 100755 --- a/bin/network-down +++ b/bin/network-down @@ -23,8 +23,8 @@ cache="/var/run/screen/S-$USER/$PKG.network-down" unit="kB/s" # Allow interface overrides in configuration directory -if [ -r "$HOME/.$PKG/network-interface" ]; then - interface=`cat "$HOME/.$PKG/network-interface"` +if [ -r "$HOME/.$PKG/network" ]; then + interface=`cat "$HOME/.$PKG/network"` else interface=`/sbin/route -n | tail -n 1 | sed "s/^.* //"` fi diff --git a/bin/network-up b/bin/network-up index 17961843..b5c825f8 100755 --- a/bin/network-up +++ b/bin/network-up @@ -23,8 +23,8 @@ cache="/var/run/screen/S-$USER/$PKG.network-up" unit="kB/s" # Allow interface overrides in configuration directory -if [ -r "$HOME/.$PKG/network-interface" ]; then - interface=`cat "$HOME/.$PKG/network-interface"` +if [ -r "$HOME/.$PKG/network" ]; then + interface=`cat "$HOME/.$PKG/network"` else interface=`/sbin/route -n | tail -n 1 | sed "s/^.* //"` fi