mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-06 09:21:28 +00:00
@@ -43,7 +43,7 @@ start_getty() {
|
|||||||
|
|
||||||
|
|
||||||
# check if we are namespaced, and, if so, indicate in the PS1
|
# check if we are namespaced, and, if so, indicate in the PS1
|
||||||
if [ -z "$INIGETTY" ]; then
|
if [ -z "$INITGETTY" ]; then
|
||||||
cat >/etc/profile.d/namespace.sh <<"EOF"
|
cat >/etc/profile.d/namespace.sh <<"EOF"
|
||||||
export PS1="(ns: getty) $PS1"
|
export PS1="(ns: getty) $PS1"
|
||||||
EOF
|
EOF
|
||||||
|
Reference in New Issue
Block a user