summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/install_bootloader.sh6
-rw-r--r--bin/localization.sh6
-rw-r--r--bin/network_configuration.sh6
-rw-r--r--bin/second_stage.sh7
4 files changed, 21 insertions, 4 deletions
diff --git a/bin/install_bootloader.sh b/bin/install_bootloader.sh
index ccb2173..2f19ca3 100644
--- a/bin/install_bootloader.sh
+++ b/bin/install_bootloader.sh
@@ -18,6 +18,11 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
+###########################
+# install_bootloader.sh #
+###########################
+
+
# Install Grub
pacman --noconfirm -Syu grub efibootmgr
@@ -32,4 +37,3 @@ sleep 1
echo "Leaving chroot environment - OK"
echo ""
sleep 1
-
diff --git a/bin/localization.sh b/bin/localization.sh
index 52ab0d0..44ffa81 100644
--- a/bin/localization.sh
+++ b/bin/localization.sh
@@ -18,6 +18,11 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
+#####################
+# localization.sh #
+#####################
+
+
# Set timezone
ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
@@ -47,4 +52,3 @@ echo "KEYMAP=de-latin1" > /etc/vconsole.conf
echo "German localization done - OK"
echo ""
sleep 1
-
diff --git a/bin/network_configuration.sh b/bin/network_configuration.sh
index 23368b2..8eb73f6 100644
--- a/bin/network_configuration.sh
+++ b/bin/network_configuration.sh
@@ -18,6 +18,11 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
+##############################
+# network_configuration.sh #
+##############################
+
+
# Network Configuration
touch /etc/hostname
@@ -31,4 +36,3 @@ echo "::1 localhost" >> /etc/hosts
echo "Network configuration done - OK"
echo ""
sleep 1
-
diff --git a/bin/second_stage.sh b/bin/second_stage.sh
index 5099e20..38b6482 100644
--- a/bin/second_stage.sh
+++ b/bin/second_stage.sh
@@ -18,9 +18,13 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
-# Second Stage of archinstall
+#####################
+# second_stage.sh #
+#####################
+# Argument Processing
+
hostname=$1
boot_partition_path=$2
echo "hostname: $hostname"
@@ -33,6 +37,7 @@ bash /opt/archinstall.git/bin/localization.sh
# Network Configuration
+
bash /opt/archinstall.git/bin/network_configuration.sh $hostname