#!/bin/sh
clear
echo "Starting installation..."

cp -f ./config/.profile /root/.profile

# Install podman-openrc tool
apk add cargo
cargo install podman-openrc

base_dir=$(pwd)

# Run installation scripts
cd ./installation
source ./basic.sh
source ./podman.sh

cd "$base_dir"

read -n 1 -s -r -p "Press any key to start service installation..."

# Run update script with install argument to set up services
chmod +x ./update.sh
source ./update.sh install