#!/bin/env bash source ./src/scripts/utils/source.sh source ./src/scripts/utils/progressbar.sh while getopts 'v' OPTION; do case "$OPTION" in v) _V=1 ;; ?) echo "usage: ./setup.sh [-v]" >&2 exit 1 ;; esac done enable_trapping draw_progress_bar 0 log '.: Setting up sono-os v0.1.0 :.' sleep 1 draw_progress_bar 5 log 'Installing scripts ...' # TODO sleep 1 draw_progress_bar 45 log 'Installing config files ...' # TODO sleep 1 draw_progress_bar 65 log 'Configuring Logger ...' # TODO sleep 1 draw_progress_bar 85 log 'Copying rules to udev ...' # TODO sleep 1 draw_progress_bar 100 destroy_scroll_area