I'm trying to write a script that automatically watches and predicts how much longer your tablet battery will last. That part works. The problem is I need it to run automatically on boot.
So I put it into /etc/rc.d and did rc energyd enable. Then I rebooted. It doesn't run. If I type the command 'rc' however it starts. I didn't see anything obvious that I was doing wrong so I did rc example enable and rebooted. It didn't print anything. But when I typed rc, it printed the example service.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
I'm trying to write a script that automatically watches and predicts how much longer your tablet battery will last. That part works. The problem is I need it to run automatically on boot.
So I put it into /etc/rc.d and did rc energyd enable. Then I rebooted. It doesn't run. If I type the command 'rc' however it starts. I didn't see anything obvious that I was doing wrong so I did rc example enable and rebooted. It didn't print anything. But when I typed rc, it printed the example service.
What am I overlooking?
Link to post
Share on other sites