pastebin - collaborative debugging tool
eckelmann.kpaste.net RSS


quantron-goodbye splash service
Posted by Anonymous on Tue 7th May 2019 14:11
raw | new post
modification of post by Anonymous (view diff)

  1. 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
  2. new file mode 100644
  3. index 0000000..cbe03ba
  4. --- /dev/null
  5. +++ b/ptxdist/local_src/ecu01-basicsys/lib/systemd/system/quantron-goodbye.service
  6. @@ -0,0 +1,15 @@
  7. +[Unit]
  8. +Description=Say Goodbye to user at Shutdown
  9. +# godforsaken ancient 2012vish systemd can't do it better, so we do it
  10. +# hack-style by xx@@!!-force
  11. +RequiresMountsFor=/home
  12. +After=multi-user.target
  13. +
  14. +[Service]
  15. +ExecStart=/bin/true
  16. +ExecStop=/sbin/fbsplash -s /home/testpics/dspl_test1.ppm
  17. +Type=oneshot
  18. +RemainAfterExit=yes
  19. +
  20. +[Install]
  21. +WantedBy=multi-user.target
  22. diff --git a/ptxdist/rules/ecu01-basicsys.make b/ptxdist/rules/ecu01-basicsys.make
  23. index 252fd7b..95f47b8 100644
  24. --- a/ptxdist/rules/ecu01-basicsys.make
  25. +++ b/ptxdist/rules/ecu01-basicsys.make
  26. @@ -166,6 +166,7 @@ $(STATEDIR)/ecu01-basicsys.targetinstall:
  27.         @$(call install_copy, ecu01-basicsys, 0, 0, 0640, $(ECU01_BASICSYS_DIR)/lib/systemd/system/var-stat.mount, /lib/systemd/system/var-stat.mount)
  28.         @$(call install_copy, ecu01-basicsys, 0, 0, 0640, $(ECU01_BASICSYS_DIR)/lib/systemd/system/reconfig-eth1.service, /lib/systemd/system/reconfig-eth1.service)
  29.         @$(call install_copy, ecu01-basicsys, 0, 0, 0640, $(ECU01_BASICSYS_DIR)/lib/systemd/system/loadenv.service, /lib/systemd/system/loadenv.service)
  30. +       @$(call install_copy, ecu01-basicsys, 0, 0, 0640, $(ECU01_BASICSYS_DIR)/lib/systemd/system/quantron-goodbye.service, /lib/systemd/system/quantron-goodbye.service)
  31.  
  32.         $(call install_copy, ecu01-basicsys, 0, 0, 0640, $(ECU01_BASICSYS_DIR)/lib/systemd/system/wlan.target, /lib/systemd/system/wlan.target)
  33.         $(call install_copy, ecu01-basicsys, 0, 0, 0640, $(ECU01_BASICSYS_DIR)/lib/systemd/system/hostapd.service, /lib/systemd/system/hostapd.service)
  34. @@ -180,6 +181,7 @@ $(STATEDIR)/ecu01-basicsys.targetinstall:
  35.         @$(call install_link, ecu01-basicsys, /lib/systemd/system/var-dyn.mount, /lib/systemd/system/local-fs.target.wants/var-dyn.mount)
  36.         @$(call install_link, ecu01-basicsys, /lib/systemd/system/var-stat.mount, /lib/systemd/system/local-fs.target.wants/var-stat.mount)
  37.         @$(call install_link, ecu01-basicsys, /lib/systemd/system/codesys3-rt.service, /etc/systemd/system/application.target.wants/codesys3-rt.service)
  38. +       @$(call install_link, ecu01-basicsys, /lib/systemd/system/quantron-goodbye.service, /etc/systemd/system/multi-user.target.wants/quantron-goodbye.service)
  39.         @$(call install_link, ecu01-basicsys, /lib/systemd/system/application.target, /etc/systemd/system/default.target)
  40.  
  41.         $(call install_link, ecu01-basicsys, /lib/systemd/system/hostapd.service, /lib/systemd/system/wlan.target.wants/hostapd.service)

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.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at