diff --git a/pi4/files/etc/cron.d/0firstrun b/pi4/files/etc/cron.d/0firstrun deleted file mode 100644 index acfa3be..0000000 --- a/pi4/files/etc/cron.d/0firstrun +++ /dev/null @@ -1,3 +0,0 @@ -SHELL=/bin/bash -PATH=/sbin:/bin:/usr/sbin:/usr/bin -@reboot root /usr/bin/local/configure-stormux diff --git a/pi4/files/etc/profile.d/stormux_first_boot.sh b/pi4/files/etc/profile.d/stormux_first_boot.sh new file mode 100755 index 0000000..7342abd --- /dev/null +++ b/pi4/files/etc/profile.d/stormux_first_boot.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +if [[ "$(tty)" = "/dev/tty1" ]]; then + configure-stormux +fi