FC16 rc.local start after standbye
i need rc.local, but its not working after resume.
How can i restart/load rc.local after standbye?
Re: FC16 rc.local start after standbye
The way I got rc.local to work on my desktop (which does not use standby) was the following:
As root I linked the rc-local.service into the system with the command:
ln -s /lib/systemd/system/rc-local.service /etc/systemd/system/multi-user.target.wants/rc-local.service
On the next boot-up of the computer, the command which I placed in /etc/rc.d/rc.local worked. The /etc/rc.d/rc.local has to be executable. I ran the command:
chmod 755 /etc/rc.d/rc.local
to make it executable, and the rc.local file was a bash script which had: #!/bin/bash on the first line. My understanding is that you don't have to enable the file with systemctl. I didn't have to do that. See:
|All times are GMT +1. The time now is 07:51 AM.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.