mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-08-03 14:48:22 +00:00
Fix spelling mistakes in comments and descriptions
Thanks, codespell!
This commit is contained in:
parent
561da1a3f1
commit
8713eb3722
162 changed files with 248 additions and 248 deletions
|
@ -38,10 +38,10 @@ require 'net/http'
|
|||
host = nil
|
||||
port = ENV['port'] || 80
|
||||
user = ENV['user'] || 'admin'
|
||||
pass = ENV['pass'] || 'forhax' #dont remember what the default admin password was
|
||||
pass = ENV['pass'] || 'forhax' #don't remember what the default admin password was
|
||||
stat = nil
|
||||
|
||||
# Check executeable "name" for parameter count
|
||||
# Check executable "name" for parameter count
|
||||
params = $0.split('_')
|
||||
if params.size != 3
|
||||
puts "Incorrect number of parameters"
|
||||
|
@ -100,7 +100,7 @@ if response.code != '200'
|
|||
case response.code
|
||||
when '401'
|
||||
puts 'Probably because the username and password are incorrect'
|
||||
#Looks like the modem respons with 200 when you try to access a page that doesnt exist >_>
|
||||
#Looks like the modem response with 200 when you try to access a page that does not exist >_>
|
||||
#when '404'
|
||||
# puts 'Looks like the page this plugin needs isn\'t available...'
|
||||
# puts 'Check your modem make/model/version'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue