pmcf 1.91.0 → 1.91.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/service.mjs +17 -3
package/package.json
CHANGED
package/src/service.mjs
CHANGED
|
@@ -35,7 +35,22 @@ const ServiceTypes = {
|
|
|
35
35
|
ssh: { protocol: "tcp", port: 22, tls: false },
|
|
36
36
|
imap: { protocol: "tcp", port: 143, tls: false },
|
|
37
37
|
imaps: { protocol: "tcp", port: 993, tls: true },
|
|
38
|
-
dhcp: { tls: false }
|
|
38
|
+
dhcp: { tls: false },
|
|
39
|
+
smb: { protocol: "tcp", port: 445, tls: false },
|
|
40
|
+
timemachine: {
|
|
41
|
+
type: "adisk",
|
|
42
|
+
protocol: "tcp",
|
|
43
|
+
tls: false,
|
|
44
|
+
dnsRecord: {
|
|
45
|
+
type: "TXT",
|
|
46
|
+
parameters: {
|
|
47
|
+
sys: "waMa=0",
|
|
48
|
+
adVF: "0x100",
|
|
49
|
+
dk0: "adVN=MF-TM-999",
|
|
50
|
+
// adVF: "0x82"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
39
54
|
};
|
|
40
55
|
|
|
41
56
|
const ServiceTypeDefinition = {
|
|
@@ -197,8 +212,7 @@ export class Service extends Base {
|
|
|
197
212
|
return ServiceTypes[this.type]?.tls || false;
|
|
198
213
|
}
|
|
199
214
|
|
|
200
|
-
get systemdServices()
|
|
201
|
-
{
|
|
215
|
+
get systemdServices() {
|
|
202
216
|
return this.#systemd;
|
|
203
217
|
}
|
|
204
218
|
|