Inital automatic setup of the AB service
This commit is contained in:
parent
5bb0c72b5d
commit
d05bf0244f
2 changed files with 27 additions and 0 deletions
15
setup.sh
Executable file
15
setup.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
echo "Setting up AutomaticBrightness.sh as a service..."
|
||||
|
||||
echo "Cloning AutomaticBrighness.sh..."
|
||||
sudo cp AutomaticBrightness.sh /usr/local/bin/
|
||||
|
||||
echo "Cloning AB.service for systemD"
|
||||
sudo cp AB.service /etc/systemd/system/
|
||||
|
||||
echo "Startin Service..."
|
||||
sudo systemctl enable AB
|
||||
sudo systemctl start AB
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue