mirror of
https://github.com/hzyitc/openwrt-redmi-ax3000.git
synced 2025-12-18 01:12:33 +00:00
For equality test a simple = is sufficient, the == is usually disregarded as bashism. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
6 lines
104 B
Bash
Executable File
6 lines
104 B
Bash
Executable File
#!/bin/sh
|
|
|
|
[ "$(uci -q get system.@system[0].ttylogin)" = 1 ] || exec /bin/ash --login
|
|
|
|
exec /bin/login
|