How to Execute a Shell Script on Reboot in FreeBSD by Nicholas Lee Fagan
Channel:
Subscribers:
6,530
Published on ● Video Link: https://www.youtube.com/watch?v=xab0tXouYso
To execute a shell script you first need to place it in the /etc/rc.d directory. Then you must edit your /etc/rc.conf file and add the following line:
myscript_enable="YES"
Also, make the script executable by issuing the command chmod +x script.sh. . .
=== Remote IT Support ===
https://linktr.ee/remotetechsupport
=== Music ===
https://linktr.ee/nichproductions
=== Beautiful World ===
https://linktr.ee/beautifulworldtravel
Other Videos By Remote IT Support
Tags:
How
to
Execute
Shell
Script
on
Reboot
in
FreeBSD
Example
Scripting
Howto
Programming
.sh
Linux (Operating System)
RedHat
CentOS
Computer
Computers
Engineering
Software
System
Administration
Network
Mac
OS
IT
Information
Technology
Tutorial
Free
Lessons
Advanced
Mac OS (Operating System)