From e94e25208936ab8f6ab684b1b229bc29073b955d Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 7 Oct 2008 11:22:35 +0200 Subject: Strip all non-digit characters from pidbuf This is needed for dhclient's pidfile, as it contains a newline --- config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.h') diff --git a/config.h b/config.h index c142add..baaa240 100644 --- a/config.h +++ b/config.h @@ -3,5 +3,5 @@ const char *eth_interface = "eth0"; const char *wmii_path = "/mnt/wmii/rbar/status"; const char *time_format = "%d.%m.%Y %H:%M:%S"; const char *battery = "/sys/class/power_supply/BAT0/uevent"; -const char *run_watches[] = {"DHCP", "/var/run/dhclient*.pid", +const char *run_watches[] = {"DHCP", "/var/run/dhclient.pid", "VPN", "/var/run/vpnc*.pid"}; -- cgit v1.2.3