summarylogtreecommitdiffstats
path: root/Change-default-key-path.patch
diff options
context:
space:
mode:
authorAlexander Sulfrian2018-01-02 23:02:42 +0100
committerAlexander Sulfrian2018-01-02 23:02:42 +0100
commitca76129cef9db21f4e0b7fadf27548f67a9ce7bb (patch)
tree4992558ed6c4b8dfb9e6ebb81a63b5d12a50956c /Change-default-key-path.patch
downloadaur-osemu-git.tar.gz
Initial packaging
Diffstat (limited to 'Change-default-key-path.patch')
-rw-r--r--Change-default-key-path.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/Change-default-key-path.patch b/Change-default-key-path.patch
new file mode 100644
index 000000000000..aee1aeb18f02
--- /dev/null
+++ b/Change-default-key-path.patch
@@ -0,0 +1,26 @@
+diff --git a/OSEmu.c b/OSEmu.c
+index 35a3066..39e5745 100755
+--- a/OSEmu.c
++++ b/OSEmu.c
+@@ -494,7 +494,7 @@ int main(int argc, char**argv)
+ get_random_bytes_init();
+
+ if(!read_emu_keyfile(path)) {
+- read_emu_keyfile("/var/keys/");
++ read_emu_keyfile("/var/lib/oscam/keys/");
+ }
+
+ if(start_relay && !stream_server_thread_init)
+diff --git a/README b/README
+index 2eb749e..f4ec87c 100644
+--- a/README
++++ b/README
+@@ -21,7 +21,7 @@ Run:
+
+ - (optional) OSEmu does not require, but will make use of "SoftCam.Key" if available.
+ "SoftCam.Key" is searched in:
+- - /var/keys
++ - /var/lib/oscam/keys
+ - The folder specified with the "-c <folder>" option.
+
+