add USB_PATH variable

This commit is contained in:
throwaway96 2024-04-20 14:13:40 -04:00
parent 2788ffa67c
commit 9e1a33c459
1 changed files with 2 additions and 1 deletions

View File

@ -13,8 +13,9 @@
set -e
USB_PATH="${USB_PATH:-/tmp/usb/sda/sda1}"
DEBUG="${DEBUG:-}"
IPK_SRC="${IPK_SRC:-/tmp/usb/sda/sda1/hbchannel-0.6.3.ipk}"
IPK_SRC="${IPK_SRC:-"${USB_PATH}/hbchannel-0.6.3.ipk"}"
toast() {
[ -n "${logfile}" ] && debug "toasting: '${1}'"