mcst-linux-kernel/patches-2024.06.26/haveged-1.9.4/0001-fix-init-hardcoded-pat...

13 lines
308 B
Diff

diff -Naur a/init.d/sysv.lsb b/init.d/sysv.lsb
--- a/init.d/sysv.lsb 2019-06-26 15:10:07.809723322 +0300
+++ b/init.d/sysv.lsb 2019-06-26 15:11:55.412330909 +0300
@@ -29,7 +29,7 @@
prog="haveged"
-HAVEGED_BIN=/usr/local/sbin/haveged
+HAVEGED_BIN=@SBIN_DIR@/haveged
LOCKFILE=/var/lock/$prog
RETVAL=0