projects
/
feed
/
routing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a1fd11
)
olsrd: hotplug: changed a varname which broke in 3a1fd118833e8c6d341fde4ef99d31786c3614c9
author
Bastian Bittorf
<bittorf@bluebottle.com>
Sat, 4 Jan 2014 06:54:22 +0000
(07:54 +0100)
committer
Bastian Bittorf
<bittorf@bluebottle.com>
Sat, 4 Jan 2014 06:54:22 +0000
(07:54 +0100)
olsrd/files/olsrd.hotplug.sh
patch
|
blob
|
history
diff --git
a/olsrd/files/olsrd.hotplug.sh
b/olsrd/files/olsrd.hotplug.sh
index 76e801a6be4946d6d8534110f73493ed6a1275e3..2094463fc1a8c512eb1e03bbb6006fd9fec87d93 100755
(executable)
--- a/
olsrd/files/olsrd.hotplug.sh
+++ b/
olsrd/files/olsrd.hotplug.sh
@@
-33,13
+33,13
@@
olsrd_interface_already_in_config()
olsrd_interface_needs_adding()
{
- local
testif
+ local
interface
# likely and cheap operation:
olsrd_interface_already_in_config && return 1
- for
myif
in $(olsrd_list_configured_interfaces); do {
- [ "$
myif" = "$interface
" ] && {
+ for
interface
in $(olsrd_list_configured_interfaces); do {
+ [ "$
interface" = "$INTERFACE
" ] && {
olsrd_interface_already_in_config || return 0
}
} done