overlay/sys-kernel/recoveryinitramfs/files/dropbear/2013.60/001_all_dropbear-initramfs-no-usr.patch
2013-10-29 18:26:14 +01:00

28 lines
1.1 KiB
Diff

diff -uNr dropbear-2013.60.orig/options.h dropbear-2013.60/options.h
--- dropbear-2013.60.orig/options.h 2013-10-16 16:34:53.000000000 +0200
+++ dropbear-2013.60/options.h 2013-10-27 07:38:45.561526446 +0100
@@ -241,7 +241,7 @@
/* The default file to store the daemon's process ID, for shutdown
scripts etc. This can be overridden with the -P flag */
#ifndef DROPBEAR_PIDFILE
-#define DROPBEAR_PIDFILE "/var/run/dropbear.pid"
+#define DROPBEAR_PIDFILE "/run/dropbear.pid"
#endif
/* The command to invoke for xauth when using X11 forwarding.
@@ -254,12 +254,12 @@
* OpenSSH), set the path below. If the path isn't defined, sftp will not
* be enabled */
#ifndef SFTPSERVER_PATH
-#define SFTPSERVER_PATH "/usr/libexec/sftp-server"
+#define SFTPSERVER_PATH "/libexec/sftp-server"
#endif
/* This is used by the scp binary when used as a client binary. If you're
* not using the Dropbear client, you'll need to change it */
-#define _PATH_SSH_PROGRAM "/usr/bin/dbclient"
+#define _PATH_SSH_PROGRAM "/bin/dbclient"
/* Whether to log commands executed by a client. This only logs the
* (single) command sent to the server, not what a user did in a