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