@@ -0,0 +1,29 @@
1+diff --git a/src/main.c b/src/main.c
2+index e8af708..6cfee17 100644
3+--- a/src/main.c
4++++ b/src/main.c
5+@@ -71,7 +71,7 @@ void check_requirements()
6+ * Check for coretemp and applesmc modules
7+ * Credits: -http://stackoverflow.com/questions/12978794
8+ */
9+- FILE *fd = popen("lsmod | grep coretemp", "r");
10++ FILE *fd = popen("@LSMOD@ | @GREP@ coretemp", "r");
11+ char buf[16];
12+
13+ if (!(fread (buf, 1, sizeof (buf), fd) > 0)) {
14+@@ -87,7 +87,7 @@ void check_requirements()
15+
16+ pclose(fd);
17+
18+- fd = popen("lsmod | grep applesmc", "r");
19++ fd = popen("@LSMOD@ | @GREP@ applesmc", "r");
20+
21+ if (!(fread (buf, 1, sizeof (buf), fd) > 0)) {
22+ DIR* dir = opendir(APPLESMC_PATH);
23+@@ -145,4 +145,4 @@ int main(int argc, char *argv[])
24+ void (*fan_control)() = mbpfan;
25+ go_daemon(fan_control);
26+ exit(EXIT_SUCCESS);
27+-}
28+\ No newline at end of file
29++}