#!/bin/bash # Initial script for Linux Live Kit # Author: Tomas M MEMORYDIR=/memory UNIONDIR=/union export PATH=.:/:/usr/sbin:/usr/bin:/sbin:/bin . /.config . /livekitlib init_proc init_devs init_aufs init_zram init_union $MEMORYDIR $UNIONDIR # find data dir with filesystem bundles DATA="$(find_data $LIVEKITNAME)" # copy to RAM if needed # add data to union union_append_bundles "$DATA" # possibly switch root # testing message echo "If you see this message, then something went terribly wrong. Sorry!" /bin/bash