summary refs log tree commit diff
path: root/bin/bri.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--[-rwxr-xr-x]bin/bri.c (renamed from home/.bin/bri.c)27
1 files changed, 17 insertions, 10 deletions
diff --git a/home/.bin/bri.c b/bin/bri.c
index d085814b..f5dd5a5c 100755..100644
--- a/home/.bin/bri.c
+++ b/bin/bri.c
@@ -1,13 +1,20 @@
-#if 0
-set -e
-bin=$(dirname $0)
-cc -Wall -Wextra -pedantic $@ -o $bin/bri $0
-sudo chown root:root $bin/bri
-sudo chmod u+s $bin/bri
-exit
-#endif
-
-// Backlight brightness control.
+/* Backlight brightness control.
+ *
+ * Copyright (c) 2017, Curtis McEnroe <programble@gmail.com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include <dirent.h>
 #include <err.h>