Commit 063d77a8 authored by Leigh Stoller's avatar Leigh Stoller

Get rid of unifi and install telegraf.

parent 877250fd
...@@ -90,15 +90,17 @@ sub Install($$$) ...@@ -90,15 +90,17 @@ sub Install($$$)
close(CN); close(CN);
}; };
if (0) { #
Phase "unifi5", "Installing unifi5 package", sub { # Install and localize the telegraf configuration.
DoneIfPackageInstalled("unifi", 0); #
Phase "telegraf", "Installing telegraf package", sub {
DoneIfPackageInstalled("telegraf", 0);
# Oh, this is clever. # Oh, this is clever.
$ENV{"ASSUME_ALWAYS_YES"} = "true"; $ENV{"ASSUME_ALWAYS_YES"} = "true";
ExecQuietFatal("pkg install unifi5"); ExecQuietFatal("pkg install telegraf");
}; };
}
# These are handy.
Phase "fstab", "Adding extras to $FSTAB", sub { Phase "fstab", "Adding extras to $FSTAB", sub {
DoneIfEdited($FSTAB); DoneIfEdited($FSTAB);
AppendToFileFatal($FSTAB, AppendToFileFatal($FSTAB,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment