find script on any USB drive/partition
This commit is contained in:
parent
9a7c9f462a
commit
48a43b2860
4
Makefile
4
Makefile
|
@ -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)
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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"}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue