File: 21_path-of-setserial.patch

package info (click to toggle)
setserial 2.17-58
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 840 kB
  • sloc: sh: 2,127; ansic: 1,011; makefile: 148; csh: 2
file content (43 lines) | stat: -rw-r--r-- 1,556 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Description: change path of setserial again
 this patch needs to be applied after 10_*, 11_*, 12_*, 13_*
Index: setserial/rc.etc-setserial
===================================================================
--- setserial.orig/rc.etc-setserial	2024-03-17 11:37:40.451374784 +0100
+++ setserial/rc.etc-setserial	2024-03-17 11:37:40.447374783 +0100
@@ -21,7 +21,7 @@
 # added due to request of linitian
 . /lib/lsb/init-functions
 
-SETSERIAL=/bin/setserial
+SETSERIAL=/usr/bin/setserial
 
 # If the serial executable has been removed abort the configuration
 [ -x ${SETSERIAL} ] || exit 0
Index: setserial/rc.serial
===================================================================
--- setserial.orig/rc.serial	2024-03-17 11:37:40.451374784 +0100
+++ setserial/rc.serial	2024-03-17 11:37:40.447374783 +0100
@@ -34,7 +34,7 @@
 # added due to request of linitian
 . /lib/lsb/init-functions
 
-SETSERIAL=/bin/setserial
+SETSERIAL=/usr/bin/setserial
 modconf=/var/run/setserial.conf
 autoconfig=/var/lib/setserial/autoserial.conf
 etcconfig=/etc/serial.conf
Index: setserial/rc.serial.upstream
===================================================================
--- setserial.orig/rc.serial.upstream	2024-03-17 11:40:03.151385435 +0100
+++ setserial/rc.serial.upstream	2024-03-17 11:40:18.515386512 +0100
@@ -31,8 +31,8 @@
 fi
 
 SETSERIAL=""
-if test -x /bin/setserial ; then
-       SETSERIAL=/bin/setserial
+if test -x /usr/bin/setserial ; then
+       SETSERIAL=/usr/bin/setserial
 elif test -x /sbin/setserial ; then
        SETSERIAL=/sbin/setserial
 fi