-
Notifications
You must be signed in to change notification settings - Fork 62
/
c2-custom-url
34 lines (31 loc) · 1.23 KB
/
c2-custom-url
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
#!/bin/bash
########################################################################
if [[ -z "$script_dir" ]]
then
echo 'do not run this script directly !'
echo 'this script is part of run.sh'
exit -1
fi
########################################################################
########################################################################
# Add your custom entry URLs to this file
#
# Example:
# CUSTOM_ENTRY1=my-custom-linux-x64
# CUSTOM_ENTRY1_URL=https://isos.my-live-os.org/my_customized_linux-super-cool.iso
# CUSTOM_ENTRY1_SUM=https://isos.my-live-os.org/my_customized_linux-super-cool.sum
# CUSTOM_ENTRY1_SUM_TYPE=sha256
#
# For local files, use the full path starting from the root directory - /
# Example:
# CUSTOM_ENTRY2=my-custom-linux-x64
# CUSTOM_ENTRY2_URL=/home/pi/Downloads/my_customized_linux-super-cool.iso
# CUSTOM_ENTRY2_SUM=/home/pi/Downloads/my_customized_linux-super-cool.sum
# CUSTOM_ENTRY2_SUM_TYPE=sha256
#
# Note:
# ..._SUM= Optional. Url to a file that contains somewhere the hash value of the image file
# ..._SUM_TYPE= Optional. Hash function used to calculate the hash value of the image file
#
# Ensure your CUSTOM_ENTRY name is unique
# and the same name as in c2-custom-handle and c2-custom-menu