On 09/03/16 16:59, François Patte wrote:
> Bonsoir,
> 
> I try to enable rc-local service:
> 
> 1- I created /etc/rc.d/rc.local file:
> 
> #!/bin/bash
> 
> iptables -I INPUT -p udp --sport 1900 -j ACCEPT
> 
> 2- I chmoded  /etc/rc.d/rc.local
> 
> chmod u+x /etc/rc.d/rc.local

Is the file owned by root.root?

On one of my systems:

> # ls -l /etc/rc.d/rc.local
> -rwxr-xr-x. 1 root root 505 Aug 18 23:31 /etc/rc.d/rc.local

-- 
Kevin J. Cummings
kjch...@verizon.net
cummi...@kjchome.homeip.net
cummi...@kjc386.framingham.ma.us
Registered Linux User #1232 (http://www.linuxcounter.net/)
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to