mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
change config file from network-interface to just network,
matches "disk" Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
2ff5d707f4
commit
a1d054befa
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue