Skip to content

Commit a503d24

Browse files
committed
Merge pull request NARKOZ#37 from CNA-Bld/fix-coffie
add the 17-second delay to fucking_coffee
2 parents f560977 + cdaf2b0 commit a503d24

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fucking_coffee.rb

+2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@
1111
coffee_machine_ip = '10.10.42.42'
1212
password = '1234'
1313
password_prompt = 'Password: '
14+
delay_before_brew = 17
1415
delay = 24
1516

17+
sleep delay_before_brew
1618
con = Net::Telnet.new('Host' => coffee_machine_ip)
1719
con.cmd('String' => password, 'Match' => /#{password_prompt}/)
1820
con.cmd('sys brew')

0 commit comments

Comments
 (0)