Permalink
Browse files

dumby

  • Loading branch information...
1 parent f3f02b9 commit ca25494eb8f07a789c574339191ee8dc4d0facc3 Txus committed Oct 26, 2009
Showing with 0 additions and 3 deletions.
  1. +0 −3 init.rb
View
@@ -17,15 +17,12 @@
when '-b'
bssid = ARGV[num+1]
raise "This BSSID looks invalid." unless bssid =~ /^([0-9a-fA-F]{2}\:){5}[0-9a-fA-F]{2}$/
- exit(0)
when '-e'
essid = ARGV[num+1]
raise "This ESSID doesn't look like a WLAN_XX kind." unless essid =~ /^WLAN_[0-9a-fA-F]{2}$/
- exit(0)
when '-f'
file = ARGV[num+1]
raise "File doesn't exist." unless File.exists?(file)
- exit(0)
end
end

0 comments on commit ca25494

Please sign in to comment.