Add execute permission to script
If the file is not executable, the service system will not load it, and will return a 203/EXEC error (file not found).
This commit is contained in:
parent
031a86d73b
commit
e15c2060a6
1 changed files with 1 additions and 0 deletions
1
setup.sh
1
setup.sh
|
@ -46,6 +46,7 @@ fi
|
||||||
|
|
||||||
echo "Cloning AutomaticBrighness.sh..."
|
echo "Cloning AutomaticBrighness.sh..."
|
||||||
sudo cp AutomaticBrightness.sh /usr/local/bin/AutomaticBrightness.sh
|
sudo cp AutomaticBrightness.sh /usr/local/bin/AutomaticBrightness.sh
|
||||||
|
sudo chmod u+x /usr/local/bin/AutomaticBrightness.sh
|
||||||
|
|
||||||
echo "Cloning AB.service for systemD..."
|
echo "Cloning AB.service for systemD..."
|
||||||
sudo cp AB.service /etc/systemd/system/AB.service
|
sudo cp AB.service /etc/systemd/system/AB.service
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue