Solved

Installation script?

Posted on 2014-04-10
3
385 Views
Last Modified: 2014-05-06
Hello Experts,

Will GRUB2 can execute a script at system boot?

Thanks,
0
Comment
Question by:Puspharaj Selvaraj
3 Comments
 
LVL 34

Accepted Solution

by:
Duncan Roe earned 500 total points
ID: 39993651
No, the function of GRUB is to load the operating system. You can start your boot-time scripts from rc.local (usually somewhere under /etc/rc.d)
0
 
LVL 62

Expert Comment

by:gheist
ID: 39997868
Earliest chance to execute anything is rc.sysinit script.
Normally one will add a service with chkconfig (with headers mimicking scripts in /etc/init.d)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
centos commands 6 87
Using Linux to replace Windows Server 2008 R2 for network drives 5 127
PHP error function not working on AWS 10 117
check the file dates in unix 14 18
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question