+/* check configured paths */
+int
+config_check()
+{
+ struct stat fs;
+
+ /* check all files in the config.h file */
+ CHECK_FILE(batterynowfile, fs);
+ CHECK_FILE(batteryfullfile, fs);
+ CHECK_FILE(tempfile, fs);
+
+ /* check update interval */
+ if (update_interval < 1)
+ return -1;
+
+ /* exit successfully */
+ return 0;
+}
+