Also change permission on new proc file
authorJoachim Breitner <mail@joachim-breitner.de>
Mon, 4 Feb 2008 16:29:54 +0000 (16:29 +0000)
committerJoachim Breitner <mail@joachim-breitner.de>
Mon, 4 Feb 2008 16:29:54 +0000 (16:29 +0000)
src/blinklight-fixperm.c

index ddd9ee9..a8254e5 100644 (file)
@@ -7,10 +7,11 @@
 #include <error.h>
 
 
-#define PROCFILES 2
+#define PROCFILES 3
 static char *procfiles[PROCFILES] = {
        "/proc/acpi/ibm/light",
        "/proc/acpi/asus/mled",
+       "/sys/class/leds/asus:phone/brightness",
 };
 
 int main(int argc, char* argv[]) {