change config file from network-interface to just network,

matches "disk"

Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
Dustin Kirkland 2009-06-12 12:12:02 -05:00
commit a1d054befa
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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