mirror of
https://github.com/adron-s/mtik_initrd_hacks.git
synced 2025-12-10 07:44:40 +01:00
10 lines
302 B
Bash
10 lines
302 B
Bash
ROOT=/flash/rw/disk/OWL
|
|
cd $ROOT
|
|
[ -f $ROOT/bin/busybox -a ! -f $ROOT/bin/sh ] && {
|
|
echo "Initializing busybox"
|
|
chmod 700 $ROOT/bin/busybox
|
|
$ROOT/bin/busybox --install -s $ROOT/bin
|
|
}
|
|
export PATH="/rw/disk/OWL/bin:$PATH"
|
|
echo "Launching telnetd"
|
|
busybox chroot /system telnetd -p 22111 -F -l bash
|