Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 935 Bytes

File metadata and controls

41 lines (34 loc) · 935 Bytes

backlight-openrc

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

Installation

Arch Linux

  1. Install the package using the AUR tar ball

Artix Linux

  1. Install the package with pacman -S backlight-openrc

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