24 |
} |
} |
25 |
+ |
+ |
26 |
+my $event="e-smith-nutUPS-update"; |
+my $event="e-smith-nutUPS-update"; |
27 |
+safe_symlink("try-reload-or-restart", "root/etc/e-smith/events/$event/services2adjust/nut"); |
+safe_symlink("try-restart", "root/etc/e-smith/events/$event/services2adjust/nut"); |
28 |
+templates2events("/etc/systemd/system-preset/49-koozali.preset", $event); |
+templates2events("/etc/systemd/system-preset/49-koozali.preset", $event); |
29 |
+event_link("systemd-default", $event, "06"); |
+event_link("systemd-default", $event, "06"); |
30 |
diff -Nur e-smith-nutUPS-2.6.0.old/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/70nutUPS e-smith-nutUPS-2.6.0/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/70nutUPS |
diff -Nur e-smith-nutUPS-2.6.0.old/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/70nutUPS e-smith-nutUPS-2.6.0/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/70nutUPS |