Many changes

This commit is contained in:
Scott C. MacCallum 2024-03-20 09:48:43 -04:00
parent e955921008
commit edcd63486d
3 changed files with 12 additions and 5 deletions

9
TODO
View File

@ -4,4 +4,11 @@
4. Go through each script and add at the end of them a statement that tells the user what was accomplished.
5. Continue to breakup config-sys.ksh into individual scripts, and when done, remove it.
6. Go through each script to see how they can be implemented without the need of a reboot.
7. Rename the main branch to develop and create a release branch.
7. Rename the main branch to develop and create a release branch.
8. Add code to config-resources that adds softdep and noatime to each partition except swap.
9. Add code to config-resources that adds changes to /etc/login.conf (staff).
10. Add code to config-resources that adds changes to /etc/sysctl.conf.
11. Add code to config-resources that turns off ttyC5 in /etc/ttys.
12. Make sure backups of file with a timestamp are created when a config file is changed.
13. Make sure scripts that require a super user tell the user that's needed at run.
14. Add needed safety code to each script so that it runs only as intended.

View File

@ -12,7 +12,7 @@
# * Redistribution's of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# * Neither the name of Scott C. McCall nor the names of its
# * Neither the name of Scott C. MacCallum nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission of Scott C.
# MacCallum.
@ -29,13 +29,13 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
# Configure the maximum processes
# Configure the maximum kernel processes
echo "kern.maxproc=4096" >> /etc/sysctl.conf
# Configure the maximum threads
# Configure the maximum kernel threads
echo "kern.maxthread=4096" >> /etc/sysctl.conf
# Configure the maximum files
# Configure the maximum kernel files
echo "kern.maxfiles=32768" >> /etc/sysctl.conf
exit 0