- diff --git a/ptxdist/local_src/ecu01-basicsys/lib/systemd/system/quantron-goodbye.service b/ptxdist/local_src/ecu01-basicsys/lib/systemd/system/quantron-goodbye.service
- new file mode 100644
- index 0000000..cbe03ba
- --- /dev/null
- +++ b/ptxdist/local_src/ecu01-basicsys/lib/systemd/system/quantron-goodbye.service
- @@ -0,0 +1,15 @@
- +[Unit]
- +Description=Say Goodbye to user at Shutdown
- +# godforsaken ancient 2012vish systemd can't do it better, so we do it
- +# hack-style by xx@@!!-force
- +RequiresMountsFor=/home
- +After=multi-user.target
- +
- +[Service]
- +ExecStart=/bin/true
- +ExecStop=/sbin/fbsplash -s /home/testpics/dspl_test1.ppm
- +Type=oneshot
- +RemainAfterExit=yes
- +
- +[Install]
- +WantedBy=multi-user.target
- diff --git a/ptxdist/rules/ecu01-basicsys.make b/ptxdist/rules/ecu01-basicsys.make
- index 252fd7b..95f47b8 100644
- --- a/ptxdist/rules/ecu01-basicsys.make
- +++ b/ptxdist/rules/ecu01-basicsys.make
- @@ -166,6 +166,7 @@ $(STATEDIR)/ecu01-basicsys.targetinstall:
- @$(call install_copy, ecu01-basicsys, 0, 0, 0640, $(ECU01_BASICSYS_DIR)/lib/systemd/system/var-stat.mount, /lib/systemd/system/var-stat.mount)
- @$(call install_copy, ecu01-basicsys, 0, 0, 0640, $(ECU01_BASICSYS_DIR)/lib/systemd/system/reconfig-eth1.service, /lib/systemd/system/reconfig-eth1.service)
- @$(call install_copy, ecu01-basicsys, 0, 0, 0640, $(ECU01_BASICSYS_DIR)/lib/systemd/system/loadenv.service, /lib/systemd/system/loadenv.service)
- + @$(call install_copy, ecu01-basicsys, 0, 0, 0640, $(ECU01_BASICSYS_DIR)/lib/systemd/system/quantron-goodbye.service, /lib/systemd/system/quantron-goodbye.service)
- $(call install_copy, ecu01-basicsys, 0, 0, 0640, $(ECU01_BASICSYS_DIR)/lib/systemd/system/wlan.target, /lib/systemd/system/wlan.target)
- $(call install_copy, ecu01-basicsys, 0, 0, 0640, $(ECU01_BASICSYS_DIR)/lib/systemd/system/hostapd.service, /lib/systemd/system/hostapd.service)
- @@ -180,6 +181,7 @@ $(STATEDIR)/ecu01-basicsys.targetinstall:
- @$(call install_link, ecu01-basicsys, /lib/systemd/system/var-dyn.mount, /lib/systemd/system/local-fs.target.wants/var-dyn.mount)
- @$(call install_link, ecu01-basicsys, /lib/systemd/system/var-stat.mount, /lib/systemd/system/local-fs.target.wants/var-stat.mount)
- @$(call install_link, ecu01-basicsys, /lib/systemd/system/codesys3-rt.service, /etc/systemd/system/application.target.wants/codesys3-rt.service)
- + @$(call install_link, ecu01-basicsys, /lib/systemd/system/quantron-goodbye.service, /etc/systemd/system/multi-user.target.wants/quantron-goodbye.service)
- @$(call install_link, ecu01-basicsys, /lib/systemd/system/application.target, /etc/systemd/system/default.target)
- $(call install_link, ecu01-basicsys, /lib/systemd/system/hostapd.service, /lib/systemd/system/wlan.target.wants/hostapd.service)
quantron-goodbye splash service
Posted by Anonymous on Tue 7th May 2019 14:11
raw | new post
modification of post by Anonymous (view diff)
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.