Skip to content

Commit

Permalink
Update ruptime.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmyczko authored Apr 11, 2024
1 parent 3cc904d commit 14db15e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ruptime.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@ def install
bin.install_symlink "ruptime" => "rwho"
man1.install "man/ruptime.1"
#man8.install "man/ruptimed.8"
system "/usr/bin/defaults write ch.aiei.ruptime SERVER bananas.debian.net"
system "/usr/bin/defaults write ch.aiei.ruptime PORT 51300"
system "/usr/bin/defaults write ch.aiei.ruptime KEY PUBLICINTERNETRUPTIMEKEYNOTSUITABLEFORPRIVATEDATAYOUHAVEBEENWARNED"
end

test do
system "false"
assert_match "SERVER=", shell_output("/usr/bin/defaults read ch.aiei.ruptime")
end
end

0 comments on commit 14db15e

Please sign in to comment.