diff --git a/battery-status.ksh b/battery-status similarity index 96% rename from battery-status.ksh rename to battery-status index 342b7a5..664cd79 100755 --- a/battery-status.ksh +++ b/battery-status @@ -1,7 +1,7 @@ #!/bin/ksh -# battery-status.ksh -# Display the batteries status. +# battery-status +# This program displays the batteries status. # Copyright (c) 2023, 2024, Scott C. MacCallum (scm@sdf.org). # All rights reserved. diff --git a/check-pkg.ksh b/check-package similarity index 95% rename from check-pkg.ksh rename to check-package index 7c3be63..b2a50d7 100755 --- a/check-pkg.ksh +++ b/check-package @@ -1,7 +1,7 @@ #!/bin/ksh -# check-pkg.ksh -# Check installed packages for any problems. +# check-package +# This program checks installed packages for any problems. # Copyright (c) 2023, 2024, Scott C. MacCallum (scm@sdf.org) # All rights reserved. diff --git a/config-admin.ksh b/config-admin similarity index 94% rename from config-admin.ksh rename to config-admin index e9d3a91..79b53bf 100755 --- a/config-admin.ksh +++ b/config-admin @@ -1,7 +1,7 @@ #!/bin/ksh -# config-admin.ksh -# Add a admin user to the operator, staff, and wheel groups. +# config-admin +# This program adds an admin user to the operator, staff, and wheel groups. # Copyright (c) 2024, Scott C. MacCallum (scm@sdf.org). # All rights reserved. diff --git a/config-doas.ksh b/config-doas similarity index 93% rename from config-doas.ksh rename to config-doas index b03078d..6270749 100755 --- a/config-doas.ksh +++ b/config-doas @@ -1,7 +1,8 @@ #!/bin/ksh -# config-doas.ksh -# Configure doas so that users in the wheel group can run it. +# config-doas +# This program configures /etc/doas.conf to allow users in the wheel group +# to run it. # Copyright (c) 2022, 2024, Scott C. MacCallum (scm@sdf.org). # All rights reserved. diff --git a/config-emacs b/config-emacs new file mode 100755 index 0000000..a0dcd61 --- /dev/null +++ b/config-emacs @@ -0,0 +1,34 @@ +#!/bin/ksh + +# config-emacs +# This program configures wsconsctl.conf so that the alt key works properly. +# Copyright (c) 2024, Scott C. MacCallum (scm@sdf.org). +# All rights reserved. + +# Redistribution and use of this software in source and binary forms, with or +# without modification, are permitted provided that the following conditions +# are met: + +# * Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. + +# * 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. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. + +echo "keyboard.encoding=us.metaesc" >> /etc/wsconsctl.conf + +exit 0 diff --git a/config-emacs.ksh b/config-emacs.ksh deleted file mode 100755 index 5d08bf2..0000000 --- a/config-emacs.ksh +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/ksh - -# config-emacs.ksh -# Configure wsconsctl.conf so that the alt key works properly. -# Copyright (c) 2024, Scott C. MacCallum (scm@sdf.org). -# All rights reserved. - -# Redistribution and use of this software in source and binary forms, with or -# without modification, are permitted provided that the following conditions -# are met: - -# * Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. - -# * 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. - -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. - -# Write some code here later that checks if this script has been run by a -# super user - -echo "keyboard.encoding=us.metaesc" >> /etc/wsconsctl.conf -# Write some code here that puts the changes into effect without the need of -# a reboot - -exit 0 diff --git a/config-gcc.ksh b/config-gcc similarity index 93% rename from config-gcc.ksh rename to config-gcc index 0269fca..9bddcfb 100755 --- a/config-gcc.ksh +++ b/config-gcc @@ -1,7 +1,7 @@ #!/bin/ksh -# config-gcc.ksh -# This script creates a GCC symbolic link. Note, at this time this is +# config-gcc +# This program creates a gcc symbolic link. Note, at this time this is # unnecessary, as the package manager now handles this properly. # Copyright (c) 2024, Scott C. MacCallum (scm@sdf.org). # All rights reserved. @@ -30,7 +30,7 @@ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. -# Create a GCC symbolic link +# Create a gcc symbolic link ln -s /usr/local/bin/egcc /usr/bin/gcc echo -n "A symbolic link from /usr/local/bin/egcc to /usr/bin/gcc has been created." diff --git a/config-mosh.ksh b/config-mosh similarity index 91% rename from config-mosh.ksh rename to config-mosh index c6be55a..21c45e5 100755 --- a/config-mosh.ksh +++ b/config-mosh @@ -1,7 +1,7 @@ #!/bin/ksh -# config-mosh.ksh -# Configure the user profile so that Mosh works. +# config-mosh +# This program configures the user profile so that mosh works. # Copyright (c) 2024, Scott C. MacCallum (scm@sdf.org). # All rights reserved. @@ -30,6 +30,6 @@ # POSSIBILITY OF SUCH DAMAGE. echo "export LC_CTYPE=en_US.UTF-8" >> /home/$USER/.profile -echo "Mosh should work now. Exit and login again for changes to take effect." +echo "Done. Exit and login again for the change to take effect." exit 0 diff --git a/config-power.ksh b/config-power similarity index 91% rename from config-power.ksh rename to config-power index f968a94..45eac7f 100755 --- a/config-power.ksh +++ b/config-power @@ -1,8 +1,8 @@ #!/bin/ksh -# config-power.ksh -# Configure the Advanced Power Management daemon to put the computer in suspend -# mode when 15% of the battery is left. +# config-power +# This program configures the apm daemon to suspend the computer when 15% of +# the battery is left. # Copyright (c) 2023, 2024, Scott C. MacCallum (scm@sdf.org). # All rights reserved. diff --git a/config-resources.ksh b/config-resources similarity index 87% rename from config-resources.ksh rename to config-resources index 8dcb0a6..b2fec1e 100755 --- a/config-resources.ksh +++ b/config-resources @@ -1,7 +1,7 @@ #!/bin/ksh -# config-resources.ksh -# This script configures system resources. +# config-resources +# This program configures system processes, threads, and files. # Copyright (c) 2024, Scott C. MacCallum (scm@sdf.org). # All rights reserved. @@ -9,10 +9,10 @@ # without modification, are permitted provided that the following conditions # are met: -# * Redistributions of source code must retain the above copyright notice, +# * 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. MacCallum nor the names of its +# * Neither the name of Scott C. McCall 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. diff --git a/config-sys.ksh b/config-sys similarity index 100% rename from config-sys.ksh rename to config-sys diff --git a/install-gui-pkg.ksh b/install-gui-pkg similarity index 95% rename from install-gui-pkg.ksh rename to install-gui-pkg index b410676..dde5c48 100755 --- a/install-gui-pkg.ksh +++ b/install-gui-pkg @@ -1,7 +1,7 @@ #!/bin/ksh -# install-gui-pkg.ksh -# Install graphical user interface packages. +# install-gui-pkg +# This program installs GUI packages. # Copyright (c) 2023, 2024, Scott C. MacCallum (scm@sdf.org). # All rights reserved. diff --git a/install-pkg.ksh b/install-pkg similarity index 97% rename from install-pkg.ksh rename to install-pkg index af31144..c570ffa 100755 --- a/install-pkg.ksh +++ b/install-pkg @@ -1,7 +1,7 @@ #!/bin/ksh -# install-pkg.sh -# Install text-based packages. +# install-pkg +# This program installs text-based packages. # Copyright (c) 2022, 2023, Scott C. MacCallum (scm@sdf.org). # All rights reserved. diff --git a/run-sshd.ksh b/run-sshd similarity index 96% rename from run-sshd.ksh rename to run-sshd index 99d74e0..8d5594a 100755 --- a/run-sshd.ksh +++ b/run-sshd @@ -1,7 +1,7 @@ #!/bin/ksh -# run-sshd.ksh -# Start the Secure Shell daemon. +# run-sshd +# This program starts the ssh daemon. # Copyright (c) 2022, 2023, 2024, Scott C. MacCallum (scm@sdf.org). # All rights reserved. diff --git a/search-pkg.ksh b/search-package similarity index 92% rename from search-pkg.ksh rename to search-package index eb215ed..5a5b856 100755 --- a/search-pkg.ksh +++ b/search-package @@ -1,8 +1,8 @@ #!/bin/ksh -# search-pkg.ksh -# Search for a package. -# Copyright (c) 2022, 2023, Scott C. MacCallum (scm@sdf.org). +# search-package +# This programs searchs for a package. +# Copyright (c) 2022, 2023, 2024, Scott C. MacCallum (scm@sdf.org). # All rights reserved. # Redistribution and use of this software in source and binary forms, with or diff --git a/unmute-speaker.ksh b/unmute-speaker similarity index 93% rename from unmute-speaker.ksh rename to unmute-speaker index bde76ac..167d0f2 100644 --- a/unmute-speaker.ksh +++ b/unmute-speaker @@ -1,7 +1,7 @@ #!/bin/ksh -# unmute-speak.ksh -# Unmute the speaker.ksh +# unmute-speak +# This program unmutes the speaker. # Copyright (c) 2024, Scott C. MacCallum (scm@sdf.org). # All rights reserved. @@ -32,6 +32,4 @@ # Unmute the speaker echo "outputs.spkr_mute=off" >> /etc/mixerctl.conf -# See if it's possible to put this into effect without a reboot - exit 0 diff --git a/update-system.ksh b/update-system similarity index 100% rename from update-system.ksh rename to update-system diff --git a/volume-down.ksh b/volume-down similarity index 96% rename from volume-down.ksh rename to volume-down index d8d683b..a9c9899 100755 --- a/volume-down.ksh +++ b/volume-down @@ -1,7 +1,7 @@ #!/bin/ksh -# volume-down.ksh -# Adjust the sound volume down. +# volume-down +# This program make the sound softer. # Copyright (c) 2022, 2024, Scott C. MacCallum (scm@sdf.org). # All rights reserved. diff --git a/volume-up.ksh b/volume-up similarity index 96% rename from volume-up.ksh rename to volume-up index 4fa8572..b7cdda2 100755 --- a/volume-up.ksh +++ b/volume-up @@ -1,7 +1,7 @@ #!/bin/ksh -# volume-up.ksh -# Adjust the sound volume up. +# volume-up +# This program makes the sound louder. # Copyright (c) 2022, 2024, Scott C. MacCallum (scm@sdf.org). # All rights reserved. @@ -32,4 +32,3 @@ sndioctl output.level=+0.1 exit 0 -