apt-get --assume-yes --purge remove ubuntu-advantage-tools
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class EnvironmentVariableLoggingLevelSwitch : LoggingLevelSwitch | |
{ | |
public EnvironmentVariableLoggingLevelSwitch(string environmentVariable, | |
LogEventLevel defaultLevel = LogEventLevel.Information) | |
{ | |
MinimumLevel = | |
Enum.TryParse<LogEventLevel>(Environment.GetEnvironmentVariable(environmentVariable), true, | |
out var level) | |
? level | |
: defaultLevel; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
INTERFACE="vpn0" | |
MARK=100 | |
TABLE="vpn" | |
SCRIPT_NAME="/etc/wireguard/scripts/vpn.sh" | |
# set this to the interface(s) on which you want WAN traffic to | |
# be routed through vpn. separate interfaces with spaces. | |
# e.g. "br0" or "br0 br1" etc. |
OlderNewer