mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2025-04-21 12:27:27 +03:00
nanonotefiles: make inittab work with minimal config system
This commit is contained in:
13
nanonote-files/base-files/usr/bin/login.nn
Executable file
13
nanonote-files/base-files/usr/bin/login.nn
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -f /usr/bin/gmenu2x ]; then
|
||||
exec /usr/bin/gmenu2x
|
||||
fi
|
||||
|
||||
if [ -f /bin/ash ]; then
|
||||
exec /bin/ash --login
|
||||
fi
|
||||
|
||||
if [ -f /bin/bash ]; then
|
||||
exec /bin/sh --login
|
||||
fi
|
||||
Reference in New Issue
Block a user