Browse Source

initialized local variables with values

bmallred 10 years ago
parent
commit
7f7c0dccdc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      i3status-update-network

+ 2 - 2
i3status-update-network

2
2
3
# Declare some variables
3
# Declare some variables
4
local config=$HOME'/.config/i3status/config'
4
local config=$HOME'/.config/i3status/config'
5
local ethernet=''
6
local wireless=''
5
local ethernet='none'
6
local wireless='none'
7
7
8
# Find devices
8
# Find devices
9
for dev in $(ls /sys/class/net); do
9
for dev in $(ls /sys/class/net); do