find script on any USB drive/partition

This commit is contained in:
throwaway96 2024-04-23 21:07:37 -04:00
parent 9a7c9f462a
commit 48a43b2860
5 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,8 @@
ZIPOUT = dejavuln-autoroot.zip
FILES = autoroot.sh hbchannel-0.6.3.ipk lol$$(sh$$IFS/tmp/usb$$()/sda/sda1/autoroot.sh).mp3 lol$$(sh$$IFS/tmp/usb$$()/sda/sda1/autoroot.sh).lrc
HAXBASE = lol$$(sh$$IFS$$(find$$IFS/tmp/usb$$IFS-maxdepth$${IFS}3$$IFS-name$${IFS}autoroot.sh))
FILES = autoroot.sh hbchannel-0.6.3.ipk $(HAXBASE).mp3 $(HAXBASE).lrc
.PHONY: all
all: $(ZIPOUT)

View File

@ -15,8 +15,9 @@ which works on webOS 3.5 and newer.
3. Plug the USB drive into your TV. (Make sure it's the only USB drive
connected.)
4. Open the USB drive in the Music app and browse to
`lol$(sh$IFS/tmp/usb$()/sda/sda1`.
5. Try to play `autoroot.sh).mp3`.
`lol$(sh$IFS$(find$IFS/tmp`.
5. Try to play the MP3 file
(`usb$IFS-maxdepth${IFS}3$IFS-name${IFS}autoroot.sh)).mp3`).
6. After the pop-up messages tell you rooting is complete, eject the USB
drive.

View File

@ -13,7 +13,7 @@
set -e
USB_PATH="${USB_PATH:-/tmp/usb/sda/sda1}"
USB_PATH="${USB_PATH:-$(dirname -- "${0}")}"
DEBUG="${DEBUG:-}"
IPK_SRC="${IPK_SRC:-"${USB_PATH}/hbchannel-0.6.3.ipk"}"