Skip to content

Commit

Permalink
Connect() no longer needed
Browse files Browse the repository at this point in the history
Due to a change in the interface naming scheme as of the latest
release of systemd there's no longer a safe way to detect interface
names thus rendering this code deprecated.

Automatic dialup code has been removed as of this commit and we no
longer check if an active interface exists, lget/lin will just
timeout if there is no internet connectivity.
  • Loading branch information
Ratler committed Jan 9, 2013
1 parent 93d2f2a commit 3a7b779
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 81 deletions.
79 changes: 0 additions & 79 deletions libs/connect.lunar

This file was deleted.

1 change: 0 additions & 1 deletion libs/download.lunar
Expand Up @@ -37,7 +37,6 @@ download_url() {
local RETVAL
debug_msg "download_url($@)"
verbose_msg "trying to download \"${2}\" from \"${1}\""
connect &&
plugin_call SOURCE_DOWNLOAD $1 $2 $3
return $?
}
Expand Down
1 change: 0 additions & 1 deletion prog/lvu
Expand Up @@ -812,7 +812,6 @@ show_urls() { (
echo $URL$2
return 1
}
connect() { return 0 ; }

LRESORT_URL=
FRESORT_URL=
Expand Down

0 comments on commit 3a7b779

Please sign in to comment.