I have created a script to enable my Bluetooth driver. Then I used rc.local to execute it from the beginning. But this is not working.
When executing the command
systemctl status rc-local.service I get:
Failed to issue the method call: there is no such interface & # 39; org.freedesktop.DBus.Properties & # 39; on the object in the path / org / freedesktop / systemd1 / unit / rc_2dlocal_2eservice
What you should get is something that looks like this:
rc-local.service - /etc/rc.local Compatibility Loaded: loaded (/lib/systemd/system/rc-local.service; static; default provider: enabled) Drop-In: /lib/systemd/system/rc-local.service.d └─debian.conf Active: active (in execution) from Monday 2018-04-02 10:39:44 -03; 1s ago Process: 2044 ExecStart = / etc / rc.local start (code = exited, status = 0 / SUCCESS) Main PID: 2049 (svscanboot) Tasks: 3 Memory: 556.0K CPU: 10ms CGroup: /system.slice/rc-local.service
All my files are executable (
chmod 755 [filename]), and verified that rc.local should work with
sudo /etc/init.d/rc.local start Y
sudo /etc/rc.local start.
Is there something that I'm missing?