diff options
author | Jonathan Bauer | 2020-05-13 11:04:02 +0200 |
---|---|---|
committer | Jonathan Bauer | 2020-05-13 11:04:02 +0200 |
commit | 1130873aa55c9b0a7e5af48edc44bd6c6fd1f888 (patch) | |
tree | 0fcfa186cd631d8d36611b3d4bc509fd38841d51 /packager/openslx | |
parent | Merge branch 'centos8' into downloader (diff) | |
download | systemd-init-1130873aa55c9b0a7e5af48edc44bd6c6fd1f888.tar.gz systemd-init-1130873aa55c9b0a7e5af48edc44bd6c6fd1f888.tar.xz systemd-init-1130873aa55c9b0a7e5af48edc44bd6c6fd1f888.zip |
restructure repo
* remove packager
* move everything from builder/* back to root
Diffstat (limited to 'packager/openslx')
-rwxr-xr-x | packager/openslx | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/packager/openslx b/packager/openslx deleted file mode 100755 index 6845f9ba..00000000 --- a/packager/openslx +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/bash -# ------------------------------------------------------------------------------ -# -# OpenSLX Toolkit Next Gen -# -# ------------------------------------------------------------------------------ -# -# The next generation toolkit to build a stateless linux system bootable -# over the network. Composed of dracut-built initramfs and a full system clone. -# -# ------------------------------------------------------------------------------ -# -# Main Code -# -# ------------------------------------------------------------------------------ - -declare -rg ARG0="$0" -declare -rg SELF="$(readlink -f "${ARG0}")" -declare -rg ROOT_DIR="$(dirname "${SELF}")" -declare -rg SELF_PID="$$" - -# let's keep it simple for now, just source our config/functions file -. "${ROOT_DIR}/${ARG0}".functions || perror "Could not source functions." -. "${ROOT_DIR}/${ARG0}".config || perror "Could not source config." - -# root check -if [ "$(id -u)" -ne 0 ]; then - banner - perror "ERROR: You need to be root to use this toolkit." -else - banner -fi - -# setup trap -trap do_cleanup SIGINT SIGTERM SIGUSR1 EXIT - -# read params -read_params $@ - -# react to given action -process_action - -exit 0 |