@LinuxismDOTcom yes like adding custom messages I read that this can be done by inserting aline on inittab or rc.local correct ??
The reason I m trying to have a script to run to install some application after the os installation and that includes some mounting of an iso and run a script
@allamiro01 If you want to add a banner or a message before the services start, add it to /etc/rc.sysinit, for all other script or an application, add it to /etc/rc.local and chmod +x
@LinuxismDOTcom not a banner I used messages as an example a script that will run once the system boots I will try the rc.local not every time the system boots I guess that what rc local does correct sorry again for trouble
@allamiro01 you can make the script remove itself when the installation of your programs success. First add to the end of your script a way to comment out rc.local
Hi How do you change some of the messages like welcome to Centos and the boot messages ??
allamiro01 1 month ago in playlist More videos from LinuxismDOTcom
@allamiro01 What do you mean? Do you mean to add a custom message or edit the services that are starting at the boot time?
LinuxismDOTcom 1 month ago
@LinuxismDOTcom yes like adding custom messages I read that this can be done by inserting aline on inittab or rc.local correct ??
The reason I m trying to have a script to run to install some application after the os installation and that includes some mounting of an iso and run a script
allamiro01 1 month ago
@allamiro01 If you want to add a banner or a message before the services start, add it to /etc/rc.sysinit, for all other script or an application, add it to /etc/rc.local and chmod +x
LinuxismDOTcom 1 month ago
@LinuxismDOTcom not a banner I used messages as an example a script that will run once the system boots I will try the rc.local not every time the system boots I guess that what rc local does correct sorry again for trouble
allamiro01 1 month ago
@allamiro01 you can make the script remove itself when the installation of your programs success. First add to the end of your script a way to comment out rc.local
For example:
$ cat foo
/script/do.sh
$ cat foo |sed s@"/script/do.sh"@"#/script/do.sh"@
#/script/do.sh
after that, add rm $0 to your end of your script to delete itself
LinuxismDOTcom 1 month ago