Some changes
This commit is contained in:
parent
4175aa67c2
commit
8fa73f8e56
@ -27,17 +27,6 @@
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
echo -n "User in wheel group: "
|
||||
read $user
|
||||
|
||||
# Enable the power manager and start it at boot. Have it adjust automatically
|
||||
# adjust to power needs. Put the computer in suspend (deep sleep) state when
|
||||
# 15% of the battery is left
|
||||
|
||||
rcctl enable apmd
|
||||
rcctl set apmd flags -A -z 15
|
||||
rcctl start apmd
|
||||
|
||||
# Set max the processes, max threads, maxfiles, and turn on audio and camera
|
||||
# recording
|
||||
|
||||
@ -58,19 +47,10 @@ echo "keyboard.bell.volume=0" >> /etc/wsconsctl.conf
|
||||
echo "keyboard.encoding=us.metaesc" >> /etc/wsconsctl.conf
|
||||
#echo "mouse.tp.tapping=1" >> /etc/wsconsctl.conf
|
||||
|
||||
# Add the user to the operator and staff group
|
||||
|
||||
#usermod -G operator $user
|
||||
#usermod -G staff $user
|
||||
|
||||
# Set LC_CTYPE for Mosh
|
||||
|
||||
echo "export LC_CTYPE=en_US.UTF-8" >> /home/$user/.profile
|
||||
|
||||
# Allow users in the wheel group to use doas
|
||||
|
||||
echo "permit :wheel" >> /etc/doas.conf
|
||||
|
||||
# Enable SSH at boot
|
||||
#rcctl enable sshd
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user