1 |
michel |
1.1 |
diff -urN e-smith-LPRng-2.6.0.old/createlinks e-smith-LPRng-2.6.0/createlinks |
2 |
|
|
--- e-smith-LPRng-2.6.0.old/createlinks 2020-11-18 16:51:13.000000000 +0400 |
3 |
|
|
+++ e-smith-LPRng-2.6.0/createlinks 2020-11-19 08:45:01.144000000 +0400 |
4 |
|
|
@@ -65,11 +65,13 @@ |
5 |
|
|
|
6 |
|
|
templates2events("/etc/lpd/lpd.perms", $event); |
7 |
|
|
templates2events("/etc/printcap", $event); |
8 |
|
|
-safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/lpd"); |
9 |
|
|
+safe_symlink("try-restart", "root/etc/e-smith/events/$event/services2adjust/lpd"); |
10 |
|
|
+templates2events("/etc/systemd/system-preset/49-koozali.preset", $event); |
11 |
|
|
+event_link("systemd-default", $event, "06"); |
12 |
|
|
|
13 |
|
|
- |
14 |
|
|
-# Make service statup symlinks |
15 |
|
|
-safe_symlink("../daemontools", "root/etc/rc.d/init.d/supervise/lpd"); |
16 |
|
|
+#-------------------------------------------------- |
17 |
|
|
# remove for systemd |
18 |
|
|
+## Make service statup symlinks |
19 |
|
|
+#safe_symlink("../daemontools", "root/etc/rc.d/init.d/supervise/lpd"); |
20 |
|
|
#safe_symlink("/etc/rc.d/init.d/e-smith-service", "root/etc/rc.d/rc7.d/S60lpd"); |
21 |
|
|
safe_symlink("/var/service/lpd", "root/service/lpd"); |