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