Re: Custom ISO With Post Installation Scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 06/14/2018 01:24 PM, Earl A Ramirez wrote:
> On 11 June 2018 at 01:57, Prasad K <email.kprasad@xxxxxxxxx> wrote:
>
>> If your distro is using systemd then rc.local will not get executed by
>> default.
>> Enable rc-local.service :  "systemctl enable rc-local.service".
>>
>>
> Thanks, Prasad
>
> I tried that and unfortunately, that service did not start after the server
> was rebooted; therefore the script was not called by
> systemd-rc-local-generator.
>
> Will continue to investigate and report back
>
Hmm...

I am doing this with a KS for C7 and my /etc/rc.d/rc.local script get executed just fine on
boot up without doing anything other than putting it in /etc/rc.d/

# ls -al /etc/rc.d/
total 72
drwxr-xr-x  10 root root   4096 May 18 07:37 .
drwxr-xr-x 121 root root  12288 Jun  8 08:19 ..
drwxr-xr-x   2 root root   4096 May 18 15:06 init.d
drwxr-xr-x   2 root root   4096 May 18 14:56 rc0.d
drwxr-xr-x   2 root root   4096 May 18 14:56 rc1.d
drwxr-xr-x   2 root root   4096 May 24 10:21 rc2.d
drwxr-xr-x   2 root root   4096 May 24 10:21 rc3.d
drwxr-xr-x   2 root root   4096 May 24 10:21 rc4.d
drwxr-xr-x   2 root root   4096 May 24 10:21 rc5.d
drwxr-xr-x   2 root root   4096 May 18 14:56 rc6.d
-rwxr-xr-x   1 root wheel 20080 May 18 09:14 rc.local


-- 
Stephen Clark
*NetWolves Managed Services, LLC.*
Sr. Applications Architect 
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.clark@xxxxxxxxxxxxx
http://www.netwolves.com
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux