File: 30-disable-start-by-default.patch

package info (click to toggle)
p910nd 0.97-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 264 kB
  • sloc: ansic: 1,619; sh: 219; makefile: 102; perl: 45
file content (24 lines) | stat: -rw-r--r-- 768 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: "Mario Izquierdo (mariodebian)" <mariodebian@gmail.com>
Date: Sun, 4 May 2025 19:04:14 +0200
Subject: Don't start daemon by default

===================================================================
---
 p910nd.conf | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/p910nd.conf b/p910nd.conf
index d205fa0..edc36a0 100644
--- a/p910nd.conf
+++ b/p910nd.conf
@@ -1,4 +1,10 @@
 # Printer number, if not 0
+# This is NOT USED on systemd systems. Use systemctl enable p910nd@0.service (or @1/@2) there.
 P910ND_NUM=""
 # Additional daemon arguments, see man 8 p910nd
 P910ND_OPTS=""
+
+
+# Debian specific (set to 1 to enable start by default)
+# This is NOT USED on systemd systems. Use systemctl enable p910nd@0.service (or @1/@2) there.
+P910ND_START=0