This commit is contained in:
Valeria Fadeeva 2024-11-06 14:17:53 +05:00
parent 074284682d
commit 282afed0b9
2 changed files with 8 additions and 0 deletions

View File

@ -41,4 +41,8 @@ if [[ 0 -ne "$?" ]]; then
useradd --base-dir /flash/home --comment Demo --create-home --password "$(mkpasswd --method=yescrypt demo)" --shell /bin/bash demo useradd --base-dir /flash/home --comment Demo --create-home --password "$(mkpasswd --method=yescrypt demo)" --shell /bin/bash demo
fi fi
if [ -f "/flash/start.sh" ]; then
bash /flash/start.sh
fi
# systemctl restart display-manager # systemctl restart display-manager

View File

@ -41,4 +41,8 @@ if [[ 0 -ne "$?" ]]; then
useradd --base-dir /home --comment Demo --create-home --password "$(mkpasswd --method=yescrypt demo)" --shell /bin/bash demo useradd --base-dir /home --comment Demo --create-home --password "$(mkpasswd --method=yescrypt demo)" --shell /bin/bash demo
fi fi
if [ -f "/flash/start.sh" ]; then
bash /flash/start.sh
fi
# systemctl restart display-manager # systemctl restart display-manager