Skip to content
This repository has been archived by the owner on May 27, 2018. It is now read-only.

antipatico/backlight-openrc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

backlight-openrc

#THIS SCRIPT IS DISCONTINUED, I'M NOT MANTAINIG IT ANYMORE, IF YOU WANT YOU ARE FREE TO FORK IT (READ LICENSE.TXT)

Save the screen light settings at shutdown and restore it at boot time, using OpenRC init scripts.

Installation

Arch Linux Based

  1. Install the package using the AUR tar ball

Non Arch Linux Based

  1. Clone this repo
  2. Install the file backlight in /etc/init.d/ with
install -m=755 -oroot backlight /etc/init.d/backlight

Setup

After installing you should add the service to the system boot schedule with

rc-update add backlight

How-to uninstall

Arch Linux Based

  1. Just remove it with pacman
pacman -R backlight-openrc

Non Arch Linux Based

  1. First remove it from the system startup
rc-update del backlight -a
  1. Then just delete the script from your system
 rm /etc/init.d/backlight

About

Restore screens' brightness on startup (OpenRC service)

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages