openwrt/target/linux/ar7-2.4/base-files/default/etc/preinit.arch

6 lines
120 B
Bash
Executable File

#!/bin/sh
[ -z "$FAILSAFE" ] || {
echo /bin/true > /proc/sys/kernel/hotplug
telnetd -l /bin/login <> /dev/null 2>&1
}