Allow telnet login in config mode again
This commit is contained in:
parent
6c952a513a
commit
9015c01c34
@ -32,8 +32,9 @@ start() {
|
|||||||
ip addr add $config_mode_addr/$config_mode_plen dev $config_mode_iface
|
ip addr add $config_mode_addr/$config_mode_plen dev $config_mode_iface
|
||||||
ip link set up dev $config_mode_iface
|
ip link set up dev $config_mode_iface
|
||||||
|
|
||||||
|
/usr/sbin/telnetd -l /lib/gluon/config-mode/ash-login
|
||||||
|
|
||||||
/etc/init.d/haveged start
|
/etc/init.d/haveged start
|
||||||
/etc/init.d/telnet start
|
|
||||||
/etc/init.d/dropbear start
|
/etc/init.d/dropbear start
|
||||||
/etc/init.d/uhttpd start
|
/etc/init.d/uhttpd start
|
||||||
/etc/init.d/led start
|
/etc/init.d/led start
|
||||||
|
3
package/gluon-config-mode/files/lib/gluon/config-mode/ash-login
Executable file
3
package/gluon-config-mode/files/lib/gluon/config-mode/ash-login
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
exec /bin/ash --login
|
Loading…
Reference in New Issue
Block a user