SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,26 @@
Index: Nagstamon/Config.py
--- Nagstamon/Config.py.orig
+++ Nagstamon/Config.py
@@ -789,17 +789,17 @@ class Config(object):
else:
# the Linux settings
defaultactions = {"RDP": Action(name="RDP", description="Connect via RDP.",
- type="command", string="/usr/bin/rdesktop -g 1024x768 $ADDRESS$"),
+ type="command", string="${LOCALBASE}/bin/rdesktop -g 1024x768 $ADDRESS$"),
"VNC": Action(name="VNC", description="Connect via VNC.",
- type="command", string="/usr/bin/vncviewer $ADDRESS$"),
+ type="command", string="${LOCALBASE}/bin/vncviewer $ADDRESS$"),
"SSH": Action(name="SSH", description="Connect via SSH.",
- type="command", string="/usr/bin/gnome-terminal -x ssh root@$ADDRESS$"),
+ type="command", string="${LOCALBASE}/bin/gnome-terminal -x ssh root@$ADDRESS$"),
"Telnet": Action(name="Telnet", description="Connect via Telnet.",
type="command",
- string="/usr/bin/gnome-terminal -x telnet root@$ADDRESS$"),
+ string="${LOCALBASE}/bin/gnome-terminal -x telnet root@$ADDRESS$"),
"Update-Linux": Action(name="Update-Linux", description="Run remote update script.",
type="command",
- string="/usr/bin/terminator -x ssh root@$HOST$ update.sh",
+ string="${LOCALBASE}/bin/terminator -x ssh root@$HOST$ update.sh",
enabled=False)}
# OS agnostic actions as examples
defaultactions["Nagios-1-Click-Acknowledge-Host"] = Action(name="Nagios-1-Click-Acknowledge-Host", type="url",