From dc929174095a00150de6a3e48d46355d24f223b9 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 18 Apr 2016 21:53:07 +0200 Subject: image / basefiles: make console password configurable Signed-off-by: Daniel Dickinson Signed-off-by: John Crispin --- package/base-files/files/usr/libexec/login.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 package/base-files/files/usr/libexec/login.sh (limited to 'package/base-files/files/usr') diff --git a/package/base-files/files/usr/libexec/login.sh b/package/base-files/files/usr/libexec/login.sh new file mode 100755 index 0000000000..02ac9c828b --- /dev/null +++ b/package/base-files/files/usr/libexec/login.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +[ "$(uci get system.@system[0].ttylogin)" == 1 ] || exec /bin/ash --login + +exec /bin/login -- cgit v1.2.3