This repository has been archived by the owner on Jun 24, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Subtle changing of file names and locations
Started working on companion skill to this one, from the same author, no reason why they shouldn't share the host mount at `/config` but need to rename/move some files. Means users will only need to edit one instance of `kodi.config` and authorise with Amazon once rather than twice.
- Loading branch information
Showing
6 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
#!/usr/bin/with-contenv bash | ||
|
||
# make our folders | ||
[[ ! -d /config/keys ]] && \ | ||
[[ ! -d /config/keys/kanzi ]] && \ | ||
mkdir -p \ | ||
/config/keys | ||
/config/keys/kanzi | ||
|
||
# create keys | ||
[[ ! -e /config/keys/certificate.pem ]] && \ | ||
[[ ! -e /config/keys/kanzi/certificate.pem ]] && \ | ||
openssl req -x509 -nodes -days 3650 \ | ||
-newkey rsa:2048 -keyout /config/keys/private-key.pem -out /config/keys/certificate.pem \ | ||
-newkey rsa:2048 -keyout /config/keys/kanzi/private-key.pem -out /config/keys/kanzi/certificate.pem \ | ||
-subj "/CN=kanzi" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters