mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-12-22 06:51:35 -05:00
Initial postinstall script
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
0fa2e8c88e
commit
978707af8a
27
desktop_postinstall.sh
Normal file
27
desktop_postinstall.sh
Normal file
@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Copyright (C) 2021-2024 Thien Tran
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
# use this file except in compliance with the License. You may obtain a copy of
|
||||
# the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations under
|
||||
# the License.
|
||||
|
||||
# Make sure secureboot is in setup mode before running this
|
||||
|
||||
# Secure boot enrollment
|
||||
sudo sbctl enroll-keys
|
||||
sudo sbctl sign /boot/efi/EFI/GRUB/grubx64.efi
|
||||
|
||||
# Firewalld setup
|
||||
sudo firewall-cmd --set-default-zone=block
|
||||
sudo firewall-cmd --permanent --add-service=dhcpv6-client
|
||||
sudo firewall-cmd --reload
|
||||
sudo firewall-cmd --lockdown-on
|
Loading…
Reference in New Issue
Block a user