touchprint/stage3/02-kiosk/00-run.sh
Logan Gartner d224b02031
Changed shebangs to be portable
I did this because hardcoding /bin/bash is generally not good practice
2020-09-03 01:20:38 -06:00

11 lines
424 B
Bash
Executable file

#!/usr/bin/env bash
set -e
mkdir -p "${ROOTFS_DIR}/home/kiosk"
install -m 755 files/.xprofile "${ROOTFS_DIR}/home/kiosk/.xprofile"
install -m 755 files/.browser.sh "${ROOTFS_DIR}/home/kiosk/.browser.sh"
mkdir -p "${ROOTFS_DIR}/home/kiosk/.config/openbox"
install -m 644 files/autostart "${ROOTFS_DIR}/home/kiosk/.config/openbox/autostart"
install -m 644 files/menu.xml "${ROOTFS_DIR}/home/kiosk/.config/openbox/menu.xml"