/[smeserver]/rpms/e-smith-base/sme10/e-smith-base-5.8.0-bz11091-wan.service.patch
ViewVC logotype

Contents of /rpms/e-smith-base/sme10/e-smith-base-5.8.0-bz11091-wan.service.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Sun Jun 6 20:38:26 2021 UTC (3 years, 5 months ago) by jpp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
FILE REMOVED
5.8.1

1 diff -Nur e-smith-base-5.8.0.old/createlinks e-smith-base-5.8.0/createlinks
2 --- e-smith-base-5.8.0.old/createlinks 2020-11-11 14:07:33.351000000 -0500
3 +++ e-smith-base-5.8.0/createlinks 2020-11-11 15:35:44.424000000 -0500
4 @@ -34,12 +34,6 @@
5 ));
6 }
7
8 -safe_symlink("daemontools", "root/etc/rc.d/init.d/wan");
9 -service_link_enhanced("wan", "S37", "7");
10 -service_link_enhanced("wan", "K90", "6");
11 -service_link_enhanced("wan", "K90", "0");
12 -service_link_enhanced("wan", "K90", "1");
13 -
14 # conf-dialup
15 foreach (qw(
16 /etc/sysconfig/network-scripts/ifcfg-ppp0
17 diff -Nur e-smith-base-5.8.0.old/root/usr/lib/systemd/system/wan.service e-smith-base-5.8.0/root/usr/lib/systemd/system/wan.service
18 --- e-smith-base-5.8.0.old/root/usr/lib/systemd/system/wan.service 1969-12-31 19:00:00.000000000 -0500
19 +++ e-smith-base-5.8.0/root/usr/lib/systemd/system/wan.service 2020-11-11 15:32:34.522000000 -0500
20 @@ -0,0 +1,15 @@
21 +[Unit]
22 +Description=WAN interface for Koozali SME Server
23 +After=network-pre.target networking.service
24 +Before=network-online.target
25 +
26 +[Service]
27 +Type=oneshot
28 +ExecStartPre=/sbin/e-smith/service-status wan
29 +ExecStart=/usr/bin/sv u /service/wan
30 +ExecStop=/usr/bin/sv stop /service/wan
31 +ExecReload=/usr/bin/sv t /service/wan
32 +RemainAfterExit=yes
33 +
34 +[Install]
35 +WantedBy=sme-server.target

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed