summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/config.h b/config.h
index baaa240..8b4f01e 100644
--- a/config.h
+++ b/config.h
@@ -1,7 +1,14 @@
const char *wlan_interface = "wlan0";
const char *eth_interface = "eth0";
-const char *wmii_path = "/mnt/wmii/rbar/status";
+/* wmii_path has to be terminated by slash */
+const char *wmii_path = "/mnt/wmii/rbar/";
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",
"VPN", "/var/run/vpnc*.pid"};
+
+#define ORDER_WLAN "0"
+#define ORDER_ETH "1"
+#define ORDER_BATTERY "2"
+#define ORDER_LOAD "3"
+#define ORDER_TIME "4"