-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to run from boot on Ubuntu 16.04 #3
Comments
had the same problem, inside the lenovo_yoga_fan_control, run the comman then try running the update command again |
Hello, @Cono52 and @cdysthe. cd lenovo-yoga-fan-control
cmake CMakeLists.txt
make
# sudo ./yoga_fan # just check whether it's working or not :)
# do not run make install
sudo cp yoga_fan /usr/bin/yoga_fan
sudo cp yoga_fan_daemon /etc/init.d/yoga_fan_daemon
sudo chmod 755 /usr/bin/yoga_fan /etc/init.d/yoga_fan_daemon
sudo update-rc.d yoga_fan_daemon defaults
# sudo /etc/init.d/yoga_fan_daemon restart # check init script I believe it will work. P.S. A thousand apologies for so late answer 😔. |
Quick question. If i run it with systemd do i need to worry about this at all? Thank you for getting back to us on this! :-) |
@cdysthe |
Hi,
I am not a developer so please bear with me. I have followed the installation instructions and I can run yoga_fan with "sudo ./yoga_fan. I then ran this:
The install went well with this output:
I get this error message:
update-rc.d: error: initscript does not exist: /etc/init.d/yoga_fan_daemon
I also enabled the service with systemd and the symlink was created. When I reboot I can not see a yoga_fan process. What am I missing?
The text was updated successfully, but these errors were encountered: