From 282afed0b90ff7a51ce7ba78e3d3b28890c80057 Mon Sep 17 00:00:00 2001 From: Valeria Fadeeva Date: Wed, 6 Nov 2024 14:17:53 +0500 Subject: [PATCH] Update --- .../airootfs/usr/local/bin/start-data-flash.sh | 4 ++++ .../airootfs/usr/local/bin/usermod-home.sh | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Melawy-Linux-Developer-Edition-Custom/airootfs/usr/local/bin/start-data-flash.sh b/Melawy-Linux-Developer-Edition-Custom/airootfs/usr/local/bin/start-data-flash.sh index ab5819a..48c3ebc 100755 --- a/Melawy-Linux-Developer-Edition-Custom/airootfs/usr/local/bin/start-data-flash.sh +++ b/Melawy-Linux-Developer-Edition-Custom/airootfs/usr/local/bin/start-data-flash.sh @@ -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 fi +if [ -f "/flash/start.sh" ]; then + bash /flash/start.sh +fi + # systemctl restart display-manager diff --git a/Melawy-Linux-Developer-Edition-Custom/airootfs/usr/local/bin/usermod-home.sh b/Melawy-Linux-Developer-Edition-Custom/airootfs/usr/local/bin/usermod-home.sh index 2ae4696..12f7375 100755 --- a/Melawy-Linux-Developer-Edition-Custom/airootfs/usr/local/bin/usermod-home.sh +++ b/Melawy-Linux-Developer-Edition-Custom/airootfs/usr/local/bin/usermod-home.sh @@ -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 fi +if [ -f "/flash/start.sh" ]; then + bash /flash/start.sh +fi + # systemctl restart display-manager