mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
fix something
This commit is contained in:
parent
7617785f2d
commit
fac02ba250
@ -1,9 +0,0 @@
|
|||||||
CFLAGS = -Wall -pedantic
|
|
||||||
|
|
||||||
all: fbsize
|
|
||||||
|
|
||||||
fbsize: main.o
|
|
||||||
cc -o $@ $^
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f fbsize *.o
|
|
BIN
fbsize/fbsize
BIN
fbsize/fbsize
Binary file not shown.
@ -1,99 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (C) 2022 Ing <https://github.com/wjz304>
|
|
||||||
*
|
|
||||||
* This is free software, licensed under the MIT License.
|
|
||||||
* See /LICENSE for more information.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
#include <linux/fb.h>
|
|
||||||
#include <sys/ioctl.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <getopt.h>
|
|
||||||
|
|
||||||
#define VERSION "1.0"
|
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
|
||||||
{
|
|
||||||
int c;
|
|
||||||
|
|
||||||
while (1)
|
|
||||||
{
|
|
||||||
int option_index = 0;
|
|
||||||
static struct option long_options[] = {
|
|
||||||
{"resolution", required_argument, 0, 'r'},
|
|
||||||
{"buffer", required_argument, 0, 'b'},
|
|
||||||
{"offset", required_argument, 0, 'o'},
|
|
||||||
{"screen", required_argument, 0, 's'},
|
|
||||||
{"help", no_argument, 0, 'h'},
|
|
||||||
{0, 0, 0, 0}};
|
|
||||||
|
|
||||||
c = getopt_long(argc, argv, "r:b:o:s:h", long_options, &option_index);
|
|
||||||
if (c == -1)
|
|
||||||
break;
|
|
||||||
|
|
||||||
switch (c)
|
|
||||||
{
|
|
||||||
case 'r':
|
|
||||||
case 'b':
|
|
||||||
case 'o':
|
|
||||||
case 's':
|
|
||||||
int fbfd = 0;
|
|
||||||
struct fb_var_screeninfo var_info;
|
|
||||||
|
|
||||||
// 打开设备文件
|
|
||||||
fbfd = open(optarg, O_RDWR);
|
|
||||||
if (fbfd == -1)
|
|
||||||
{
|
|
||||||
perror("Error: cannot open framebuffer device");
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 获取屏幕参数
|
|
||||||
if (ioctl(fbfd, FBIOGET_VSCREENINFO, &var_info) == -1)
|
|
||||||
{
|
|
||||||
perror("Error reading variable information");
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (c == 'r')
|
|
||||||
{
|
|
||||||
printf("%dx%d\n", var_info.xres, var_info.yres);
|
|
||||||
}
|
|
||||||
else if (c == 'b')
|
|
||||||
{
|
|
||||||
printf("%dx%d\n", var_info.xres_virtual, var_info.yres_virtual);
|
|
||||||
}
|
|
||||||
else if (c == 'o')
|
|
||||||
{
|
|
||||||
printf("%dx%d\n", var_info.xoffset, var_info.yoffset);
|
|
||||||
}
|
|
||||||
else if (c == 's')
|
|
||||||
{
|
|
||||||
printf("%dx%d\n", var_info.height, var_info.width);
|
|
||||||
}
|
|
||||||
|
|
||||||
// 关闭设备文件
|
|
||||||
close(fbfd);
|
|
||||||
break;
|
|
||||||
case 'h':
|
|
||||||
case '?':
|
|
||||||
printf("Usage: %s [options] <framebuffer_device>\n", argv[0]);
|
|
||||||
printf("Version: %s\n", VERSION);
|
|
||||||
printf("Options:\n");
|
|
||||||
printf(" -r, --resolution Display the resolution of the screen\n");
|
|
||||||
printf(" -b, --buffer Display the resolution of the framebuffer\n");
|
|
||||||
printf(" -o, --offset Display the offset of the screen\n");
|
|
||||||
printf(" -s, --screen Display the size of the screen\n");
|
|
||||||
printf(" -h, --help Display this help message\n");
|
|
||||||
return 0;
|
|
||||||
default:
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
@ -141,18 +141,20 @@ else
|
|||||||
CMDLINE["syno_hdd_detect"]="0"
|
CMDLINE["syno_hdd_detect"]="0"
|
||||||
CMDLINE["syno_hdd_powerup_seq"]="0"
|
CMDLINE["syno_hdd_powerup_seq"]="0"
|
||||||
fi
|
fi
|
||||||
CMDLINE['panic']="${KERNELPANIC:-0}"
|
|
||||||
CMDLINE['console']="ttyS0,115200n8"
|
|
||||||
# CMDLINE['no_console_suspend']="1"
|
|
||||||
CMDLINE['consoleblank']="600"
|
|
||||||
CMDLINE['earlyprintk']=""
|
|
||||||
CMDLINE['earlycon']="uart8250,io,0x3f8,115200n8"
|
|
||||||
CMDLINE['root']="/dev/md0"
|
|
||||||
CMDLINE['skip_vender_mac_interfaces']="0,1,2,3,4,5,6,7"
|
|
||||||
CMDLINE['loglevel']="15"
|
|
||||||
CMDLINE['log_buf_len']="32M"
|
|
||||||
CMDLINE["HddHotplug"]="1"
|
CMDLINE["HddHotplug"]="1"
|
||||||
CMDLINE["vender_format_version"]="2"
|
CMDLINE["vender_format_version"]="2"
|
||||||
|
CMDLINE['skip_vender_mac_interfaces']="0,1,2,3,4,5,6,7"
|
||||||
|
|
||||||
|
CMDLINE['earlyprintk']=""
|
||||||
|
CMDLINE['earlycon']="uart8250,io,0x3f8,115200n8"
|
||||||
|
CMDLINE['console']="ttyS0,115200n8"
|
||||||
|
CMDLINE['consoleblank']="600"
|
||||||
|
# CMDLINE['no_console_suspend']="1"
|
||||||
|
CMDLINE['root']="/dev/md0"
|
||||||
|
CMDLINE['rootwait']=""
|
||||||
|
CMDLINE['loglevel']="15"
|
||||||
|
CMDLINE['log_buf_len']="32M"
|
||||||
|
CMDLINE['panic']="${KERNELPANIC:-0}"
|
||||||
|
|
||||||
# if [ -n "$(ls /dev/mmcblk* 2>/dev/null)" ] && [ ! "${BUS}" = "mmc" ] && [ ! "${EMMCBOOT}" = "true" ]; then
|
# if [ -n "$(ls /dev/mmcblk* 2>/dev/null)" ] && [ ! "${BUS}" = "mmc" ] && [ ! "${EMMCBOOT}" = "true" ]; then
|
||||||
# [ ! "${CMDLINE['modprobe.blacklist']}" = "" ] && CMDLINE['modprobe.blacklist']+=","
|
# [ ! "${CMDLINE['modprobe.blacklist']}" = "" ] && CMDLINE['modprobe.blacklist']+=","
|
||||||
@ -173,16 +175,6 @@ if echo "purley broadwellnkv2" | grep -wq "${PLATFORM}"; then
|
|||||||
CMDLINE["SASmodel"]="1"
|
CMDLINE["SASmodel"]="1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if echo "apollolake geminilake purley" | grep -wq "${PLATFORM}"; then
|
|
||||||
if grep -q "^flags.*x2apic.*" /proc/cpuinfo; then
|
|
||||||
eval $(grep -o "RR_CMDLINE=.*$" "${USER_GRUB_CONFIG}")
|
|
||||||
[ -z "${RR_CMDLINE}" ] && RR_CMDLINE="bzImage-rr"
|
|
||||||
echo "${RR_CMDLINE}" | grep -q 'nox2apic' || sed -i "s|${RR_CMDLINE}|${RR_CMDLINE} nox2apic|" "${USER_GRUB_CONFIG}"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
grep -q ' nox2apic' "${USER_GRUB_CONFIG}" && sed -i "s| nox2apic||" "${USER_GRUB_CONFIG}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
while IFS=': ' read KEY VALUE; do
|
while IFS=': ' read KEY VALUE; do
|
||||||
[ -n "${KEY}" ] && CMDLINE["network.${KEY}"]="${VALUE}"
|
[ -n "${KEY}" ] && CMDLINE["network.${KEY}"]="${VALUE}"
|
||||||
done <<<$(readConfigMap "network" "${USER_CONFIG_FILE}")
|
done <<<$(readConfigMap "network" "${USER_CONFIG_FILE}")
|
||||||
@ -201,15 +193,25 @@ done
|
|||||||
CMDLINE_LINE=$(echo "${CMDLINE_LINE}" | sed 's/^ //') # Remove leading space
|
CMDLINE_LINE=$(echo "${CMDLINE_LINE}" | sed 's/^ //') # Remove leading space
|
||||||
echo -e "$(TEXT "Cmdline:\n")\033[1;36m${CMDLINE_LINE}\033[0m"
|
echo -e "$(TEXT "Cmdline:\n")\033[1;36m${CMDLINE_LINE}\033[0m"
|
||||||
|
|
||||||
|
# Save command line to grubenv
|
||||||
|
if echo "apollolake geminilake purley" | grep -wq "${PLATFORM}"; then
|
||||||
|
if grep -q "^flags.*x2apic.*" /proc/cpuinfo; then
|
||||||
|
checkCmdline "rr_cmdline" "nox2apic" || addCmdline "rr_cmdline" "nox2apic"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
checkCmdline "rr_cmdline" "nox2apic" && delCmdline "rr_cmdline" "nox2apic"
|
||||||
|
fi
|
||||||
DIRECT="$(readConfigKey "directboot" "${USER_CONFIG_FILE}")"
|
DIRECT="$(readConfigKey "directboot" "${USER_CONFIG_FILE}")"
|
||||||
if [ "${DIRECT}" = "true" ]; then
|
if [ "${DIRECT}" = "true" ]; then
|
||||||
CMDLINE_DIRECT=$(echo ${CMDLINE_LINE} | sed 's/>/\\\\>/g') # Escape special chars
|
CMDLINE_DIRECT=$(echo ${CMDLINE_LINE} | sed 's/>/\\\\>/g') # Escape special chars
|
||||||
grub-editenv ${USER_GRUBENVFILE} set dsm_cmdline="${CMDLINE_DIRECT}"
|
grub-editenv ${USER_GRUBENVFILE} set dsm_cmdline="${CMDLINE_DIRECT}"
|
||||||
echo -e "\033[1;33m$(TEXT "Reboot to boot directly in DSM")\033[0m"
|
|
||||||
grub-editenv ${USER_GRUBENVFILE} set next_entry="direct"
|
grub-editenv ${USER_GRUBENVFILE} set next_entry="direct"
|
||||||
|
echo -e "\033[1;33m$(TEXT "Reboot to boot directly in DSM")\033[0m"
|
||||||
reboot
|
reboot
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
|
grub-editenv ${USER_GRUBENVFILE} unset dsm_cmdline
|
||||||
|
grub-editenv ${USER_GRUBENVFILE} unset next_entry
|
||||||
ETHX=$(ls /sys/class/net/ 2>/dev/null | grep -v lo) || true
|
ETHX=$(ls /sys/class/net/ 2>/dev/null | grep -v lo) || true
|
||||||
echo "$(printf "$(TEXT "Detected %s network cards.")" "$(echo ${ETHX} | wc -w)")"
|
echo "$(printf "$(TEXT "Detected %s network cards.")" "$(echo ${ETHX} | wc -w)")"
|
||||||
echo -en "$(TEXT "Checking Connect.")"
|
echo -en "$(TEXT "Checking Connect.")"
|
||||||
|
Binary file not shown.
@ -304,6 +304,47 @@ function getLogo() {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# check Cmdline
|
||||||
|
# 1 - key name
|
||||||
|
# 2 - key string
|
||||||
|
function checkCmdline() {
|
||||||
|
return $(grub-editenv ${USER_GRUBENVFILE} list 2>/dev/null | grep "^${1}=" | cut -d'=' -f2- | grep -q "${2}")
|
||||||
|
}
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# get logo of model
|
||||||
|
# 1 - key name
|
||||||
|
# 2 - key string
|
||||||
|
function setCmdline() {
|
||||||
|
[ -z "${1}" ] && return 1
|
||||||
|
if [ -n "${2}" ]; then
|
||||||
|
grub-editenv ${USER_GRUBENVFILE} set "${1}=${2}"
|
||||||
|
else
|
||||||
|
grub-editenv ${USER_GRUBENVFILE} unset "${1}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# get logo of model
|
||||||
|
# check Cmdline
|
||||||
|
# 1 - key name
|
||||||
|
# 2 - key string
|
||||||
|
function addCmdline() {
|
||||||
|
local CMDLINE="$(grub-editenv ${USER_GRUBENVFILE} list 2>/dev/null | grep "^${1}=" | cut -d'=' -f2-)"
|
||||||
|
[ -n "${CMDLINE}" ] && CMDLINE="${CMDLINE} ${2}" || CMDLINE="${2}"
|
||||||
|
setCmdline "${1}" "${CMDLINE}"
|
||||||
|
}
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# get logo of model
|
||||||
|
# 1 - model
|
||||||
|
function delCmdline() {
|
||||||
|
local CMDLINE="$(grub-editenv ${USER_GRUBENVFILE} list 2>/dev/null | grep "^${1}=" | cut -d'=' -f2-)"
|
||||||
|
CMDLINE="$(echo "${CMDLINE}" | sed "s/ *${2}//; s/^[[:space:]]*//;s/[[:space:]]*$//")"
|
||||||
|
setCmdline "${1}" "${CMDLINE}"
|
||||||
|
}
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Rebooting
|
# Rebooting
|
||||||
# 1 - mode
|
# 1 - mode
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -8,7 +8,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2024-06-25 08:50+0800\n"
|
"POT-Creation-Date: 2024-07-06 01:37+0800\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@ -21,7 +21,7 @@ msgstr ""
|
|||||||
msgid "Loader is not init!"
|
msgid "Loader is not init!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: boot.sh:10 init.sh:145
|
#: boot.sh:10 init.sh:144
|
||||||
msgid "Loader is not configured!"
|
msgid "Loader is not configured!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -83,71 +83,71 @@ msgid ""
|
|||||||
"for the bootloader disk."
|
"for the bootloader disk."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: boot.sh:188
|
#: boot.sh:194
|
||||||
msgid "Cmdline:\\n"
|
msgid "Cmdline:\\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: boot.sh:194
|
#: boot.sh:209
|
||||||
msgid "Reboot to boot directly in DSM"
|
msgid "Reboot to boot directly in DSM"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: boot.sh:200 init.sh:158
|
#: boot.sh:216 init.sh:157
|
||||||
msgid "Detected %s network cards."
|
msgid "Detected %s network cards."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: boot.sh:201 init.sh:159
|
#: boot.sh:217 init.sh:158
|
||||||
msgid "Checking Connect."
|
msgid "Checking Connect."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: boot.sh:213 init.sh:169
|
#: boot.sh:229 init.sh:168
|
||||||
msgid "connected."
|
msgid "connected."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: boot.sh:220 init.sh:176
|
#: boot.sh:239 init.sh:178
|
||||||
msgid "Waiting IP."
|
msgid "Waiting IP."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: boot.sh:227 init.sh:183
|
#: boot.sh:246 init.sh:185
|
||||||
msgid "DOWN"
|
msgid "DOWN"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: boot.sh:231 init.sh:187
|
#: boot.sh:250 init.sh:189
|
||||||
msgid "NOT CONNECTED"
|
msgid "NOT CONNECTED"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: boot.sh:235 init.sh:191
|
#: boot.sh:254 init.sh:193
|
||||||
msgid "TIMEOUT (Please check the IP on the router.)"
|
msgid "TIMEOUT (Please check the IP on the router.)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: boot.sh:242 init.sh:198
|
#: boot.sh:261 init.sh:200
|
||||||
msgid "LINK LOCAL (No DHCP server detected.)"
|
msgid "LINK LOCAL (No DHCP server detected.)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: boot.sh:244
|
#: boot.sh:263
|
||||||
msgid "Access \\033[1;34mhttp://%s:5000\\033[0m to connect the DSM via web."
|
msgid "Access \\033[1;34mhttp://%s:5000\\033[0m to connect the DSM via web."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: boot.sh:257
|
#: boot.sh:276
|
||||||
msgid "%2ds (Changing access(ssh/web) status will interrupt boot)"
|
msgid "%2ds (Changing access(ssh/web) status will interrupt boot)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: boot.sh:261
|
#: boot.sh:280
|
||||||
msgid "access(ssh/web) status has changed and booting is interrupted."
|
msgid "access(ssh/web) status has changed and booting is interrupted."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: boot.sh:271
|
#: boot.sh:290
|
||||||
msgid "Loading DSM kernel ..."
|
msgid "Loading DSM kernel ..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: boot.sh:288
|
#: boot.sh:307
|
||||||
msgid "Warning, running kexec with --noefi param, strange things will happen!!"
|
msgid "Warning, running kexec with --noefi param, strange things will happen!!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: boot.sh:292
|
#: boot.sh:311
|
||||||
msgid "Booting ..."
|
msgid "Booting ..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: boot.sh:294
|
#: boot.sh:313
|
||||||
msgid ""
|
msgid ""
|
||||||
"[This interface will not be operational. Please wait a few minutes.\\nFind "
|
"[This interface will not be operational. Please wait a few minutes.\\nFind "
|
||||||
"DSM via http://find.synology.com/ or Synology Assistant and connect.]"
|
"DSM via http://find.synology.com/ or Synology Assistant and connect.]"
|
||||||
@ -159,57 +159,57 @@ msgid ""
|
|||||||
"network!"
|
"network!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: init.sh:121
|
#: init.sh:120
|
||||||
msgid "Loader disk neither USB or SATA/SCSI/NVME/MMC DoM"
|
msgid "Loader disk neither USB or SATA/SCSI/NVME/MMC/XEN DoM"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: init.sh:130
|
#: init.sh:129
|
||||||
msgid "Loader disk:"
|
msgid "Loader disk:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: init.sh:138
|
#: init.sh:137
|
||||||
msgid "Loading keymap"
|
msgid "Loading keymap"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: init.sh:148
|
#: init.sh:147
|
||||||
msgid "User requested edit settings."
|
msgid "User requested edit settings."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: init.sh:200
|
#: init.sh:202
|
||||||
msgid ""
|
msgid ""
|
||||||
"Access \\033[1;34mhttp://%s:7681\\033[0m to configure the loader via web "
|
"Access \\033[1;34mhttp://%s:7681\\033[0m to configure the loader via web "
|
||||||
"terminal."
|
"terminal."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: init.sh:211
|
#: init.sh:213
|
||||||
msgid "Call \\033[1;32minit.sh\\033[0m to re get init info"
|
msgid "Call \\033[1;32minit.sh\\033[0m to re get init info"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: init.sh:212
|
#: init.sh:214
|
||||||
msgid "Call \\033[1;32mmenu.sh\\033[0m to configure loader"
|
msgid "Call \\033[1;32mmenu.sh\\033[0m to configure loader"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: init.sh:214
|
#: init.sh:216
|
||||||
msgid "User config is on"
|
msgid "User config is on"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: init.sh:215
|
#: init.sh:217
|
||||||
msgid "TTYD: \\033[1;34mhttp://rr:7681/\\033[0m"
|
msgid "TTYD: \\033[1;34mhttp://rr:7681/\\033[0m"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: init.sh:216
|
#: init.sh:218
|
||||||
msgid "DUFS: \\033[1;34mhttp://rr:7304/\\033[0m"
|
msgid "DUFS: \\033[1;34mhttp://rr:7304/\\033[0m"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: init.sh:217
|
#: init.sh:219
|
||||||
msgid "TTYD&DUFS: \\033[1;34mhttp://rr:80/\\033[0m"
|
msgid "TTYD&DUFS: \\033[1;34mhttp://rr:80/\\033[0m"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: init.sh:219
|
#: init.sh:221
|
||||||
msgid "Default SSH \\033[1;31mroot\\033[0m password is"
|
msgid "Default SSH \\033[1;31mroot\\033[0m password is"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: init.sh:237
|
#: init.sh:239
|
||||||
msgid ""
|
msgid ""
|
||||||
"You have less than 4GB of RAM, if errors occur in loader creation, please "
|
"You have less than 4GB of RAM, if errors occur in loader creation, please "
|
||||||
"increase the amount of memory."
|
"increase the amount of memory."
|
||||||
@ -314,10 +314,10 @@ msgid ""
|
|||||||
"option.\\n"
|
"option.\\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:443 menu.sh:453 menu.sh:3202 menu.sh:3203 menu.sh:3204 menu.sh:3205
|
#: menu.sh:443 menu.sh:453 menu.sh:3217 menu.sh:3218 menu.sh:3219 menu.sh:3220
|
||||||
#: menu.sh:3206 menu.sh:3207 menu.sh:3213 menu.sh:3238 menu.sh:3250
|
#: menu.sh:3221 menu.sh:3222 menu.sh:3228 menu.sh:3253 menu.sh:3265
|
||||||
#: menu.sh:3262 menu.sh:3274 menu.sh:3289 menu.sh:3300 menu.sh:3317
|
#: menu.sh:3277 menu.sh:3289 menu.sh:3304 menu.sh:3315 menu.sh:3332
|
||||||
#: menu.sh:3336
|
#: menu.sh:3351
|
||||||
msgid "Update"
|
msgid "Update"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -337,9 +337,9 @@ msgstr ""
|
|||||||
msgid "Ready!"
|
msgid "Ready!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:494 menu.sh:1326 menu.sh:3356 menu.sh:3426 menu.sh:3444 menu.sh:3524
|
#: menu.sh:494 menu.sh:1326 menu.sh:3371 menu.sh:3441 menu.sh:3459 menu.sh:3539
|
||||||
#: menu.sh:3530 menu.sh:3536 menu.sh:3542 menu.sh:3548 menu.sh:3554
|
#: menu.sh:3545 menu.sh:3551 menu.sh:3557 menu.sh:3563 menu.sh:3569
|
||||||
#: menu.sh:3560
|
#: menu.sh:3575
|
||||||
msgid "Main menu"
|
msgid "Main menu"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -353,11 +353,11 @@ msgstr ""
|
|||||||
|
|
||||||
#: menu.sh:532 menu.sh:549 menu.sh:554 menu.sh:560 menu.sh:571 menu.sh:579
|
#: menu.sh:532 menu.sh:549 menu.sh:554 menu.sh:560 menu.sh:571 menu.sh:579
|
||||||
#: menu.sh:602 menu.sh:609 menu.sh:613 menu.sh:627 menu.sh:631 menu.sh:639
|
#: menu.sh:602 menu.sh:609 menu.sh:613 menu.sh:627 menu.sh:631 menu.sh:639
|
||||||
#: menu.sh:643 menu.sh:2944 menu.sh:2993 menu.sh:3204 menu.sh:3239 menu.sh:3244
|
#: menu.sh:643 menu.sh:2959 menu.sh:3008 menu.sh:3219 menu.sh:3254 menu.sh:3259
|
||||||
msgid "Addons"
|
msgid "Addons"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:533 menu.sh:663 menu.sh:843 menu.sh:987 menu.sh:1355 menu.sh:3427
|
#: menu.sh:533 menu.sh:663 menu.sh:843 menu.sh:987 menu.sh:1355 menu.sh:3442
|
||||||
msgid "Choose a option"
|
msgid "Choose a option"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -377,8 +377,8 @@ msgstr ""
|
|||||||
msgid "Upload a external addon"
|
msgid "Upload a external addon"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:538 menu.sh:670 menu.sh:841 menu.sh:985 menu.sh:1360 menu.sh:2329
|
#: menu.sh:538 menu.sh:670 menu.sh:841 menu.sh:985 menu.sh:1360 menu.sh:2331
|
||||||
#: menu.sh:3210 menu.sh:3424 menu.sh:3522
|
#: menu.sh:3225 menu.sh:3439 menu.sh:3537
|
||||||
msgid "Exit"
|
msgid "Exit"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -408,7 +408,7 @@ msgid ""
|
|||||||
"not added.\\n\\n"
|
"not added.\\n\\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:608 menu.sh:742 menu.sh:1368 menu.sh:3287
|
#: menu.sh:608 menu.sh:742 menu.sh:1368 menu.sh:3302
|
||||||
msgid ""
|
msgid ""
|
||||||
"This feature is only available when accessed via ssh (Requires a terminal "
|
"This feature is only available when accessed via ssh (Requires a terminal "
|
||||||
"that supports ZModem protocol).\\n"
|
"that supports ZModem protocol).\\n"
|
||||||
@ -418,7 +418,7 @@ msgstr ""
|
|||||||
msgid "Please upload the *.addons file."
|
msgid "Please upload the *.addons file."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:628 menu.sh:778 menu.sh:3318 menu.sh:3337
|
#: menu.sh:628 menu.sh:778 menu.sh:3333 menu.sh:3352
|
||||||
msgid "Not a valid file, please try again!"
|
msgid "Not a valid file, please try again!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -435,8 +435,8 @@ msgid "File format not recognized!"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:662 menu.sh:676 menu.sh:689 menu.sh:726 menu.sh:743 menu.sh:753
|
#: menu.sh:662 menu.sh:676 menu.sh:689 menu.sh:726 menu.sh:743 menu.sh:753
|
||||||
#: menu.sh:756 menu.sh:772 menu.sh:777 menu.sh:791 menu.sh:797 menu.sh:3008
|
#: menu.sh:756 menu.sh:772 menu.sh:777 menu.sh:791 menu.sh:797 menu.sh:3023
|
||||||
#: menu.sh:3059 menu.sh:3205 menu.sh:3251 menu.sh:3256
|
#: menu.sh:3074 menu.sh:3220 menu.sh:3266 menu.sh:3271
|
||||||
msgid "Modules"
|
msgid "Modules"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -779,7 +779,7 @@ msgstr ""
|
|||||||
msgid "The pat url is empty. Please re 'Choose a version' before build."
|
msgid "The pat url is empty. Please re 'Choose a version' before build."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:1216 menu.sh:3357
|
#: menu.sh:1216 menu.sh:3372
|
||||||
msgid "Cleaning cache ..."
|
msgid "Cleaning cache ..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -886,10 +886,10 @@ msgstr ""
|
|||||||
#: menu.sh:2061 menu.sh:2064 menu.sh:2079 menu.sh:2083 menu.sh:2089
|
#: menu.sh:2061 menu.sh:2064 menu.sh:2079 menu.sh:2083 menu.sh:2089
|
||||||
#: menu.sh:2095 menu.sh:2101 menu.sh:2183 menu.sh:2186 menu.sh:2189
|
#: menu.sh:2095 menu.sh:2101 menu.sh:2183 menu.sh:2186 menu.sh:2189
|
||||||
#: menu.sh:2216 menu.sh:2220 menu.sh:2230 menu.sh:2243 menu.sh:2254
|
#: menu.sh:2216 menu.sh:2220 menu.sh:2230 menu.sh:2243 menu.sh:2254
|
||||||
#: menu.sh:2331 menu.sh:2358 menu.sh:2376 menu.sh:2397 menu.sh:2409
|
#: menu.sh:2333 menu.sh:2360 menu.sh:2378 menu.sh:2399 menu.sh:2411
|
||||||
#: menu.sh:2429 menu.sh:2466 menu.sh:2537 menu.sh:2541 menu.sh:2551
|
#: menu.sh:2427 menu.sh:2432 menu.sh:2443 menu.sh:2480 menu.sh:2551
|
||||||
#: menu.sh:2557 menu.sh:2571 menu.sh:2578 menu.sh:2583 menu.sh:2586
|
#: menu.sh:2555 menu.sh:2565 menu.sh:2571 menu.sh:2585 menu.sh:2592
|
||||||
#: menu.sh:2602 menu.sh:2632
|
#: menu.sh:2597 menu.sh:2600 menu.sh:2614 menu.sh:2617 menu.sh:2647
|
||||||
msgid "Advanced"
|
msgid "Advanced"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -1138,7 +1138,7 @@ msgstr ""
|
|||||||
msgid "\\Z1No logs found!\\Zn\\n\\n"
|
msgid "\\Z1No logs found!\\Zn\\n\\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2226 menu.sh:2547
|
#: menu.sh:2226 menu.sh:2561
|
||||||
msgid "Please do as follows:\\n"
|
msgid "Please do as follows:\\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -1150,7 +1150,7 @@ msgstr ""
|
|||||||
msgid " 2. Wait 10 minutes after booting.\\n"
|
msgid " 2. Wait 10 minutes after booting.\\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2229 menu.sh:2550
|
#: menu.sh:2229 menu.sh:2564
|
||||||
msgid " 3. Reboot into RR and go to this option.\\n"
|
msgid " 3. Reboot into RR and go to this option.\\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -1199,448 +1199,456 @@ msgid "kernel switching method:"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2300
|
#: menu.sh:2300
|
||||||
msgid "Reboot on kernel panic:"
|
msgid "Power off display after boot: "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2302
|
#: menu.sh:2302
|
||||||
msgid "Use EMMC as the system disk:"
|
msgid "Reboot on kernel panic:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2304
|
#: menu.sh:2304
|
||||||
msgid "Custom patch script # Developer"
|
msgid "Use EMMC as the system disk:"
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: menu.sh:2305
|
|
||||||
msgid "Edit user config file manually"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2306
|
#: menu.sh:2306
|
||||||
msgid "Edit grub.cfg file manually"
|
msgid "Custom patch script # Developer"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: menu.sh:2307
|
||||||
|
msgid "Edit user config file manually"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2308
|
#: menu.sh:2308
|
||||||
msgid "Set static IP"
|
msgid "Edit grub.cfg file manually"
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: menu.sh:2309
|
|
||||||
msgid "Set wireless account"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2310
|
#: menu.sh:2310
|
||||||
msgid "Show disks information"
|
msgid "Set static IP"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2311
|
#: menu.sh:2311
|
||||||
msgid "Format disk(s) # Without loader disk"
|
msgid "Set wireless account"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2312
|
#: menu.sh:2312
|
||||||
msgid "Try to recovery a installed DSM system"
|
msgid "Show disks information"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2313
|
#: menu.sh:2313
|
||||||
msgid "Allow downgrade installation"
|
msgid "Format disk(s) # Without loader disk"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2314
|
#: menu.sh:2314
|
||||||
msgid "Reset DSM system password"
|
msgid "Try to recovery a installed DSM system"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2315
|
#: menu.sh:2315
|
||||||
msgid "Add a new user to DSM system"
|
msgid "Allow downgrade installation"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2316
|
#: menu.sh:2316
|
||||||
msgid "Force enable Telnet&SSH of DSM system"
|
msgid "Reset DSM system password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2317
|
#: menu.sh:2317
|
||||||
msgid "Remove the blocked ip database of DSM"
|
msgid "Add a new user to DSM system"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2318
|
#: menu.sh:2318
|
||||||
msgid "Initialize DSM network settings"
|
msgid "Force enable Telnet&SSH of DSM system"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2319
|
#: menu.sh:2319
|
||||||
msgid "Clone bootloader disk to another disk"
|
msgid "Remove the blocked ip database of DSM"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2320
|
#: menu.sh:2320
|
||||||
msgid "Report bugs to the author"
|
msgid "Initialize DSM network settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2321
|
#: menu.sh:2321
|
||||||
msgid "Download DSM config backup files"
|
msgid "Clone bootloader disk to another disk"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2322
|
#: menu.sh:2322
|
||||||
msgid "Install development tools"
|
msgid "Report bugs to the author"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2323
|
#: menu.sh:2323
|
||||||
msgid "Save modifications of '/opt/rr'"
|
msgid "Download DSM config backup files"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: menu.sh:2324
|
||||||
|
msgid "Install development tools"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2325
|
#: menu.sh:2325
|
||||||
msgid "Show QR logo:"
|
msgid "Save modifications of '/opt/rr'"
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: menu.sh:2326
|
|
||||||
msgid "Set global proxy"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2327
|
#: menu.sh:2327
|
||||||
msgid "Set github proxy"
|
msgid "Show QR logo:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2328
|
#: menu.sh:2328
|
||||||
|
msgid "Set global proxy"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: menu.sh:2329
|
||||||
|
msgid "Set github proxy"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: menu.sh:2330
|
||||||
msgid "Vigorously miracle"
|
msgid "Vigorously miracle"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2332
|
#: menu.sh:2334
|
||||||
msgid "Advanced option"
|
msgid "Advanced option"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2357
|
#: menu.sh:2359
|
||||||
msgid "pat: (editable)"
|
msgid "pat: (editable)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2377
|
#: menu.sh:2379
|
||||||
msgid "Choose a mode(Only supported for kernel version 4)"
|
msgid "Choose a mode(Only supported for kernel version 4)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2398 menu.sh:2410 menu.sh:2430
|
#: menu.sh:2400 menu.sh:2412 menu.sh:2444
|
||||||
msgid "Choose a time(seconds)"
|
msgid "Choose a time(seconds)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2462
|
#: menu.sh:2428
|
||||||
|
msgid "Modifying this item requires a reboot, continue?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: menu.sh:2433 menu.sh:3530 menu.sh:3558
|
||||||
|
msgid "Reboot to RR"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: menu.sh:2476
|
||||||
msgid "This option is only informative.\\n\\n"
|
msgid "This option is only informative.\\n\\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2463
|
#: menu.sh:2477
|
||||||
msgid "This program reserves an interface for ramdisk custom patch scripts.\\n"
|
msgid "This program reserves an interface for ramdisk custom patch scripts.\\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2464
|
#: menu.sh:2478
|
||||||
msgid "Call timing: called before ramdisk packaging.\\n"
|
msgid "Call timing: called before ramdisk packaging.\\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2465
|
#: menu.sh:2479
|
||||||
msgid "Location: /mnt/p3/scripts/*.sh\\n"
|
msgid "Location: /mnt/p3/scripts/*.sh\\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2538
|
#: menu.sh:2552
|
||||||
msgid ""
|
msgid ""
|
||||||
"Please via %s to download the scbk,\\nAnd unzip it and back it up in order "
|
"Please via %s to download the scbk,\\nAnd unzip it and back it up in order "
|
||||||
"by file name."
|
"by file name."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2542
|
#: menu.sh:2556
|
||||||
msgid "Please unzip it and back it up in order by file name."
|
msgid "Please unzip it and back it up in order by file name."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2546
|
#: menu.sh:2560
|
||||||
msgid "\\Z1No scbk found!\\Zn\\n\\n"
|
msgid "\\Z1No scbk found!\\Zn\\n\\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2548
|
#: menu.sh:2562
|
||||||
msgid " 1. Add synoconfbkp in addons and rebuild.\\n"
|
msgid " 1. Add synoconfbkp in addons and rebuild.\\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2549
|
#: menu.sh:2563
|
||||||
msgid " 2. Normal use.\\n"
|
msgid " 2. Normal use.\\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2558
|
#: menu.sh:2572
|
||||||
msgid ""
|
msgid ""
|
||||||
"This option only installs opkg package management, allowing you to install "
|
"This option only installs opkg package management, allowing you to install "
|
||||||
"more tools for use and debugging. Do you want to continue?"
|
"more tools for use and debugging. Do you want to continue?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2572
|
#: menu.sh:2586
|
||||||
msgid "opkg installing ..."
|
msgid "opkg installing ..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2574
|
#: menu.sh:2588
|
||||||
msgid "opkg install failed."
|
msgid "opkg install failed."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2576
|
#: menu.sh:2590
|
||||||
msgid "opkg install complete."
|
msgid "opkg install complete."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2584
|
#: menu.sh:2598
|
||||||
msgid ""
|
msgid ""
|
||||||
"Warning:\\nDo not terminate midway, otherwise it may cause damage to the RR. "
|
"Warning:\\nDo not terminate midway, otherwise it may cause damage to the RR. "
|
||||||
"Do you want to continue?"
|
"Do you want to continue?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2587
|
#: menu.sh:2601 menu.sh:2615
|
||||||
msgid ""
|
msgid ""
|
||||||
"Saving ...\\n(It usually takes 5-10 minutes, please be patient and wait.)"
|
"Saving ...\\n(It usually takes 5-10 minutes, please be patient and wait.)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2603
|
#: menu.sh:2618
|
||||||
msgid "Save is complete."
|
msgid "Save is complete."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2644
|
#: menu.sh:2659
|
||||||
msgid "Alert"
|
msgid "Alert"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2645
|
#: menu.sh:2660
|
||||||
msgid "Config changed, would you like to rebuild the loader?"
|
msgid "Config changed, would you like to rebuild the loader?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2662 menu.sh:3417
|
#: menu.sh:2677 menu.sh:3432
|
||||||
msgid "Choose a language"
|
msgid "Choose a language"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2677
|
#: menu.sh:2692
|
||||||
msgid "Choose a layout"
|
msgid "Choose a layout"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2689
|
#: menu.sh:2704
|
||||||
msgid "Choice a keymap"
|
msgid "Choice a keymap"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2708 menu.sh:2806 menu.sh:2944 menu.sh:3008 menu.sh:3074
|
#: menu.sh:2723 menu.sh:2821 menu.sh:2959 menu.sh:3023 menu.sh:3089
|
||||||
#: menu.sh:3130
|
#: menu.sh:3145
|
||||||
msgid "Update %s"
|
msgid "Update %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2709
|
#: menu.sh:2724
|
||||||
msgid "Checking last version ..."
|
msgid "Checking last version ..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2726
|
#: menu.sh:2741
|
||||||
msgid "Error checking new version.\\nError: TAG is %s"
|
msgid "Error checking new version.\\nError: TAG is %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2739
|
#: menu.sh:2754
|
||||||
msgid "No new version."
|
msgid "No new version."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2743
|
#: menu.sh:2758
|
||||||
msgid "Actual version is %s.\\nForce update?"
|
msgid "Actual version is %s.\\nForce update?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2756
|
#: menu.sh:2771
|
||||||
msgid "Do you want to update?"
|
msgid "Do you want to update?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2776
|
#: menu.sh:2791
|
||||||
msgid ""
|
msgid ""
|
||||||
"Error downloading new version.\\nError: %d:%d\\n(Please via https://curl.se/"
|
"Error downloading new version.\\nError: %d:%d\\n(Please via https://curl.se/"
|
||||||
"libcurl/c/libcurl-errors.html check error description.)"
|
"libcurl/c/libcurl-errors.html check error description.)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2786
|
#: menu.sh:2801
|
||||||
msgid "Downloading ..."
|
msgid "Downloading ..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2806 menu.sh:2931 menu.sh:3203 menu.sh:3232
|
#: menu.sh:2821 menu.sh:2946 menu.sh:3218 menu.sh:3247
|
||||||
msgid "RR"
|
msgid "RR"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2807 menu.sh:2945 menu.sh:3009 menu.sh:3075 menu.sh:3131
|
#: menu.sh:2822 menu.sh:2960 menu.sh:3024 menu.sh:3090 menu.sh:3146
|
||||||
msgid "Extracting update file ..."
|
msgid "Extracting update file ..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2818 menu.sh:2862 menu.sh:2956 menu.sh:3020 menu.sh:3086
|
#: menu.sh:2833 menu.sh:2877 menu.sh:2971 menu.sh:3035 menu.sh:3101
|
||||||
#: menu.sh:3142
|
#: menu.sh:3157
|
||||||
msgid "Error extracting update file."
|
msgid "Error extracting update file."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2830
|
#: menu.sh:2845
|
||||||
msgid "Checksum do not match!"
|
msgid "Checksum do not match!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2843
|
#: menu.sh:2858
|
||||||
msgid ""
|
msgid ""
|
||||||
"The current version does not support upgrading to the latest update.zip. "
|
"The current version does not support upgrading to the latest update.zip. "
|
||||||
"Please remake the bootloader disk!"
|
"Please remake the bootloader disk!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2884 menu.sh:2978 menu.sh:3034 menu.sh:3100 menu.sh:3156
|
#: menu.sh:2899 menu.sh:2993 menu.sh:3049 menu.sh:3115 menu.sh:3171
|
||||||
msgid ""
|
msgid ""
|
||||||
"Failed to install due to insufficient remaning disk space on local hard "
|
"Failed to install due to insufficient remaning disk space on local hard "
|
||||||
"drive, consider reallocate your disk %s with at least %sM."
|
"drive, consider reallocate your disk %s with at least %sM."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2894
|
#: menu.sh:2909
|
||||||
msgid "Installing new files ..."
|
msgid "Installing new files ..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2931 menu.sh:2993 menu.sh:3059 menu.sh:3115 menu.sh:3181
|
#: menu.sh:2946 menu.sh:3008 menu.sh:3074 menu.sh:3130 menu.sh:3196
|
||||||
msgid "%s updated with success!"
|
msgid "%s updated with success!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:2931
|
#: menu.sh:2946
|
||||||
msgid "Reboot?"
|
msgid "Reboot?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3074 menu.sh:3115 menu.sh:3206 menu.sh:3263 menu.sh:3268
|
#: menu.sh:3089 menu.sh:3130 menu.sh:3221 menu.sh:3278 menu.sh:3283
|
||||||
msgid "LKMs"
|
msgid "LKMs"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3130 menu.sh:3181 menu.sh:3207 menu.sh:3275 menu.sh:3280
|
#: menu.sh:3145 menu.sh:3196 menu.sh:3222 menu.sh:3290 menu.sh:3295
|
||||||
msgid "CKs"
|
msgid "CKs"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3202 menu.sh:3225
|
#: menu.sh:3217 menu.sh:3240
|
||||||
msgid "All"
|
msgid "All"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3208
|
#: menu.sh:3223
|
||||||
msgid "Local upload"
|
msgid "Local upload"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3209
|
#: menu.sh:3224
|
||||||
msgid "Pre Release:"
|
msgid "Pre Release:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3214 menu.sh:3288
|
#: menu.sh:3229 menu.sh:3303
|
||||||
msgid ""
|
msgid ""
|
||||||
"Manually uploading update*.zip,addons*.zip,modules*.zip,rp-lkms*.zip,rr-cks*."
|
"Manually uploading update*.zip,addons*.zip,modules*.zip,rp-lkms*.zip,rr-cks*."
|
||||||
"zip to /tmp/ will skip the download."
|
"zip to /tmp/ will skip the download."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3239 menu.sh:3251 menu.sh:3263 menu.sh:3275
|
#: menu.sh:3254 menu.sh:3266 menu.sh:3278 menu.sh:3290
|
||||||
msgid "No longer supports update %s separately. Please choose to update All/RR"
|
msgid "No longer supports update %s separately. Please choose to update All/RR"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3294
|
#: menu.sh:3309
|
||||||
msgid ""
|
msgid ""
|
||||||
"Please keep the attachment name consistent with the attachment name on "
|
"Please keep the attachment name consistent with the attachment name on "
|
||||||
"Github.\\n"
|
"Github.\\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3295
|
#: menu.sh:3310
|
||||||
msgid "Upload update*.zip will update RR.\\n"
|
msgid "Upload update*.zip will update RR.\\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3296
|
#: menu.sh:3311
|
||||||
msgid "Upload addons*.zip will update Addons.\\n"
|
msgid "Upload addons*.zip will update Addons.\\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3297
|
#: menu.sh:3312
|
||||||
msgid "Upload modules*.zip will update Modules.\\n"
|
msgid "Upload modules*.zip will update Modules.\\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3298
|
#: menu.sh:3313
|
||||||
msgid "Upload rp-lkms*.zip will update LKMs.\\n"
|
msgid "Upload rp-lkms*.zip will update LKMs.\\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3299
|
#: menu.sh:3314
|
||||||
msgid "Upload rr-cks*.zip will update CKs.\\n"
|
msgid "Upload rr-cks*.zip will update CKs.\\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3367
|
#: menu.sh:3382
|
||||||
msgid "This person is very lazy and hasn't written anything."
|
msgid "This person is very lazy and hasn't written anything."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3378
|
#: menu.sh:3393
|
||||||
msgid "Another instance of the menu.sh is running."
|
msgid "Another instance of the menu.sh is running."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3391
|
#: menu.sh:3406
|
||||||
msgid "Choose a model"
|
msgid "Choose a model"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3393
|
#: menu.sh:3408
|
||||||
msgid "Choose a version"
|
msgid "Choose a version"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3395
|
#: menu.sh:3410
|
||||||
msgid "Parse pat"
|
msgid "Parse pat"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3401
|
#: menu.sh:3416
|
||||||
msgid "Kernel:"
|
msgid "Kernel:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3403
|
#: menu.sh:3418
|
||||||
msgid "Addons menu"
|
msgid "Addons menu"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3404
|
#: menu.sh:3419
|
||||||
msgid "Modules menu"
|
msgid "Modules menu"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3405
|
#: menu.sh:3420
|
||||||
msgid "Cmdline menu"
|
msgid "Cmdline menu"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3406
|
#: menu.sh:3421
|
||||||
msgid "Synoinfo menu"
|
msgid "Synoinfo menu"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3408
|
#: menu.sh:3423
|
||||||
msgid "Advanced menu"
|
msgid "Advanced menu"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3411
|
#: menu.sh:3426
|
||||||
msgid "Build the loader"
|
msgid "Build the loader"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3415
|
#: menu.sh:3430
|
||||||
msgid "Boot the loader"
|
msgid "Boot the loader"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3418
|
#: menu.sh:3433
|
||||||
msgid "Choose a keymap"
|
msgid "Choose a keymap"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3420
|
#: menu.sh:3435
|
||||||
msgid "Clean disk cache"
|
msgid "Clean disk cache"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3422
|
#: menu.sh:3437
|
||||||
msgid "Update menu"
|
msgid "Update menu"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3423
|
#: menu.sh:3438
|
||||||
msgid "Notepad"
|
msgid "Notepad"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3445
|
#: menu.sh:3460
|
||||||
msgid "Change ..."
|
msgid "Change ..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3513 menu.sh:3531
|
#: menu.sh:3528 menu.sh:3546
|
||||||
msgid "Poweroff"
|
msgid "Power off"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3514 menu.sh:3537
|
#: menu.sh:3529 menu.sh:3552
|
||||||
msgid "Reboot"
|
msgid "Reboot"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3515 menu.sh:3543
|
#: menu.sh:3531 menu.sh:3564
|
||||||
msgid "Reboot to RR"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: menu.sh:3516 menu.sh:3549
|
|
||||||
msgid "Reboot to Recovery"
|
msgid "Reboot to Recovery"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3517 menu.sh:3555
|
#: menu.sh:3532 menu.sh:3570
|
||||||
msgid "Reboot to Junior"
|
msgid "Reboot to Junior"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3519 menu.sh:3561
|
#: menu.sh:3534 menu.sh:3576
|
||||||
msgid "Reboot to BIOS"
|
msgid "Reboot to BIOS"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3521
|
#: menu.sh:3536
|
||||||
msgid "Back to shell"
|
msgid "Back to shell"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3525
|
#: menu.sh:3540
|
||||||
msgid "Choose a action"
|
msgid "Choose a action"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3578
|
#: menu.sh:3593
|
||||||
msgid "Call \\033[1;32mmenu.sh\\033[0m to return to menu"
|
msgid "Call \\033[1;32mmenu.sh\\033[0m to return to menu"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -608,7 +608,7 @@ function addonMenu() {
|
|||||||
MSG+="$(TEXT "This feature is only available when accessed via ssh (Requires a terminal that supports ZModem protocol).\n")"
|
MSG+="$(TEXT "This feature is only available when accessed via ssh (Requires a terminal that supports ZModem protocol).\n")"
|
||||||
DIALOG --title "$(TEXT "Addons")" \
|
DIALOG --title "$(TEXT "Addons")" \
|
||||||
--msgbox "${MSG}" 0 0
|
--msgbox "${MSG}" 0 0
|
||||||
return
|
continue
|
||||||
fi
|
fi
|
||||||
DIALOG --title "$(TEXT "Addons")" \
|
DIALOG --title "$(TEXT "Addons")" \
|
||||||
--msgbox "$(TEXT "Please upload the *.addons file.")" 0 0
|
--msgbox "$(TEXT "Please upload the *.addons file.")" 0 0
|
||||||
@ -631,7 +631,7 @@ function addonMenu() {
|
|||||||
DIALOG --title "$(TEXT "Addons")" \
|
DIALOG --title "$(TEXT "Addons")" \
|
||||||
--yesno "$(TEXT "The addon already exists. Do you want to overwrite it?")" 0 0
|
--yesno "$(TEXT "The addon already exists. Do you want to overwrite it?")" 0 0
|
||||||
RET=$?
|
RET=$?
|
||||||
[ ${RET} -eq 0 ] && return
|
[ ${RET} -ne 0 ] && return
|
||||||
fi
|
fi
|
||||||
ADDON="$(untarAddon "${TMP_UP_PATH}/${USER_FILE}")"
|
ADDON="$(untarAddon "${TMP_UP_PATH}/${USER_FILE}")"
|
||||||
if [ -n "${ADDON}" ]; then
|
if [ -n "${ADDON}" ]; then
|
||||||
@ -752,7 +752,7 @@ function moduleMenu() {
|
|||||||
MSG+="$(TEXT "Do you want to continue?")"
|
MSG+="$(TEXT "Do you want to continue?")"
|
||||||
DIALOG --title "$(TEXT "Modules")" \
|
DIALOG --title "$(TEXT "Modules")" \
|
||||||
--yesno "${MSG}" 0 0
|
--yesno "${MSG}" 0 0
|
||||||
[ $? -ne 0 ] && return
|
[ $? -ne 0 ] && continue
|
||||||
DIALOG --title "$(TEXT "Modules")" \
|
DIALOG --title "$(TEXT "Modules")" \
|
||||||
--msgbox "$(TEXT "Please upload the *.ko file.")" 0 0
|
--msgbox "$(TEXT "Please upload the *.ko file.")" 0 0
|
||||||
TMP_UP_PATH=${TMP_PATH}/users
|
TMP_UP_PATH=${TMP_PATH}/users
|
||||||
@ -813,13 +813,13 @@ function moduleMenu() {
|
|||||||
while true; do
|
while true; do
|
||||||
DIALOG --title "$(TEXT "Edit with caution")" \
|
DIALOG --title "$(TEXT "Edit with caution")" \
|
||||||
--editbox "${TMP_PATH}/modulelist.tmp" 0 0 2>"${TMP_PATH}/modulelist.user"
|
--editbox "${TMP_PATH}/modulelist.tmp" 0 0 2>"${TMP_PATH}/modulelist.user"
|
||||||
[ $? -ne 0 ] && return
|
[ $? -ne 0 ] && break
|
||||||
[ ! -d "${USER_UP_PATH}" ] && mkdir -p "${USER_UP_PATH}"
|
[ ! -d "${USER_UP_PATH}" ] && mkdir -p "${USER_UP_PATH}"
|
||||||
mv -f "${TMP_PATH}/modulelist.user" "${USER_UP_PATH}/modulelist"
|
mv -f "${TMP_PATH}/modulelist.user" "${USER_UP_PATH}/modulelist"
|
||||||
dos2unix "${USER_UP_PATH}/modulelist"
|
dos2unix "${USER_UP_PATH}/modulelist"
|
||||||
|
touch ${PART1_PATH}/.build
|
||||||
break
|
break
|
||||||
done
|
done
|
||||||
touch ${PART1_PATH}/.build
|
|
||||||
;;
|
;;
|
||||||
e)
|
e)
|
||||||
break
|
break
|
||||||
@ -2278,7 +2278,7 @@ function setProxy() {
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
# Advanced menu
|
# Advanced menu
|
||||||
function advancedMenu() {
|
function advancedMenu() {
|
||||||
NEXT="l"
|
NEXT="q"
|
||||||
while true; do
|
while true; do
|
||||||
rm -f "${TMP_PATH}/menu"
|
rm -f "${TMP_PATH}/menu"
|
||||||
echo "9 \"$(TEXT "DSM rd compression:") \Z4${RD_COMPRESSED}\Zn\"" >>"${TMP_PATH}/menu"
|
echo "9 \"$(TEXT "DSM rd compression:") \Z4${RD_COMPRESSED}\Zn\"" >>"${TMP_PATH}/menu"
|
||||||
@ -2296,6 +2296,8 @@ function advancedMenu() {
|
|||||||
echo "i \"$(TEXT "Timeout of get ip in boot:") \Z4${BOOTIPWAIT}\Zn\"" >>"${TMP_PATH}/menu"
|
echo "i \"$(TEXT "Timeout of get ip in boot:") \Z4${BOOTIPWAIT}\Zn\"" >>"${TMP_PATH}/menu"
|
||||||
echo "w \"$(TEXT "Timeout of boot wait:") \Z4${BOOTWAIT}\Zn\"" >>"${TMP_PATH}/menu"
|
echo "w \"$(TEXT "Timeout of boot wait:") \Z4${BOOTWAIT}\Zn\"" >>"${TMP_PATH}/menu"
|
||||||
echo "k \"$(TEXT "kernel switching method:") \Z4${KERNELWAY}\Zn\"" >>"${TMP_PATH}/menu"
|
echo "k \"$(TEXT "kernel switching method:") \Z4${KERNELWAY}\Zn\"" >>"${TMP_PATH}/menu"
|
||||||
|
checkCmdline "rr_cmdline" "nomodeset" && POWEROFFDISPLAY="false" || POWEROFFDISPLAY="true"
|
||||||
|
echo "7 \"$(TEXT "Power off display after boot: ") \Z4${POWEROFFDISPLAY}\Zn\"" >>"${TMP_PATH}/menu"
|
||||||
fi
|
fi
|
||||||
echo "n \"$(TEXT "Reboot on kernel panic:") \Z4${KERNELPANIC}\Zn\"" >>"${TMP_PATH}/menu"
|
echo "n \"$(TEXT "Reboot on kernel panic:") \Z4${KERNELPANIC}\Zn\"" >>"${TMP_PATH}/menu"
|
||||||
if [ -n "$(ls /dev/mmcblk* 2>/dev/null)" ]; then
|
if [ -n "$(ls /dev/mmcblk* 2>/dev/null)" ]; then
|
||||||
@ -2358,7 +2360,7 @@ function advancedMenu() {
|
|||||||
DIALOG --title "$(TEXT "Advanced")" \
|
DIALOG --title "$(TEXT "Advanced")" \
|
||||||
--form "${MSG}" 10 110 2 "URL" 1 1 "${PATURL}" 1 5 100 0 "MD5" 2 1 "${PATSUM}" 2 5 100 0 \
|
--form "${MSG}" 10 110 2 "URL" 1 1 "${PATURL}" 1 5 100 0 "MD5" 2 1 "${PATSUM}" 2 5 100 0 \
|
||||||
2>"${TMP_PATH}/resp"
|
2>"${TMP_PATH}/resp"
|
||||||
[ $? -ne 0 ] && return
|
[ $? -ne 0 ] && continue
|
||||||
paturl="$(cat "${TMP_PATH}/resp" | sed -n '1p')"
|
paturl="$(cat "${TMP_PATH}/resp" | sed -n '1p')"
|
||||||
patsum="$(cat "${TMP_PATH}/resp" | sed -n '2p')"
|
patsum="$(cat "${TMP_PATH}/resp" | sed -n '2p')"
|
||||||
if [ ! ${paturl} = ${PATURL} ] || [ ! ${patsum} = ${PATSUM} ]; then
|
if [ ! ${paturl} = ${PATURL} ] || [ ! ${patsum} = ${PATSUM} ]; then
|
||||||
@ -2376,9 +2378,9 @@ function advancedMenu() {
|
|||||||
DIALOG --title "$(TEXT "Advanced")" \
|
DIALOG --title "$(TEXT "Advanced")" \
|
||||||
--default-item "${SATADOM}" --menu "$(TEXT "Choose a mode(Only supported for kernel version 4)")" 0 0 0 --file "${TMP_PATH}/opts" \
|
--default-item "${SATADOM}" --menu "$(TEXT "Choose a mode(Only supported for kernel version 4)")" 0 0 0 --file "${TMP_PATH}/opts" \
|
||||||
2>${TMP_PATH}/resp
|
2>${TMP_PATH}/resp
|
||||||
[ $? -ne 0 ] && return
|
[ $? -ne 0 ] && continue
|
||||||
resp=$(cat ${TMP_PATH}/resp 2>/dev/null)
|
resp=$(cat ${TMP_PATH}/resp 2>/dev/null)
|
||||||
[ -z "${resp}" ] && return
|
[ -z "${resp}" ] && continue
|
||||||
SATADOM=${resp}
|
SATADOM=${resp}
|
||||||
writeConfigKey "satadom" "${SATADOM}" "${USER_CONFIG_FILE}"
|
writeConfigKey "satadom" "${SATADOM}" "${USER_CONFIG_FILE}"
|
||||||
NEXT="8"
|
NEXT="8"
|
||||||
@ -2397,9 +2399,9 @@ function advancedMenu() {
|
|||||||
DIALOG --title "$(TEXT "Advanced")" \
|
DIALOG --title "$(TEXT "Advanced")" \
|
||||||
--default-item "${BOOTIPWAIT}" --no-items --menu "$(TEXT "Choose a time(seconds)")" 0 0 0 ${ITEMS} \
|
--default-item "${BOOTIPWAIT}" --no-items --menu "$(TEXT "Choose a time(seconds)")" 0 0 0 ${ITEMS} \
|
||||||
2>${TMP_PATH}/resp
|
2>${TMP_PATH}/resp
|
||||||
[ $? -ne 0 ] && return
|
[ $? -ne 0 ] && continue
|
||||||
resp=$(cat ${TMP_PATH}/resp 2>/dev/null)
|
resp=$(cat ${TMP_PATH}/resp 2>/dev/null)
|
||||||
[ -z "${resp}" ] && return
|
[ -z "${resp}" ] && continue
|
||||||
BOOTIPWAIT=${resp}
|
BOOTIPWAIT=${resp}
|
||||||
writeConfigKey "bootipwait" "${BOOTIPWAIT}" "${USER_CONFIG_FILE}"
|
writeConfigKey "bootipwait" "${BOOTIPWAIT}" "${USER_CONFIG_FILE}"
|
||||||
NEXT="i"
|
NEXT="i"
|
||||||
@ -2409,9 +2411,9 @@ function advancedMenu() {
|
|||||||
DIALOG --title "$(TEXT "Advanced")" \
|
DIALOG --title "$(TEXT "Advanced")" \
|
||||||
--default-item "${BOOTWAIT}" --no-items --menu "$(TEXT "Choose a time(seconds)")" 0 0 0 ${ITEMS} \
|
--default-item "${BOOTWAIT}" --no-items --menu "$(TEXT "Choose a time(seconds)")" 0 0 0 ${ITEMS} \
|
||||||
2>${TMP_PATH}/resp
|
2>${TMP_PATH}/resp
|
||||||
[ $? -ne 0 ] && return
|
[ $? -ne 0 ] && continue
|
||||||
resp=$(cat ${TMP_PATH}/resp 2>/dev/null)
|
resp=$(cat ${TMP_PATH}/resp 2>/dev/null)
|
||||||
[ -z "${resp}" ] && return
|
[ -z "${resp}" ] && continue
|
||||||
BOOTWAIT=${resp}
|
BOOTWAIT=${resp}
|
||||||
writeConfigKey "bootwait" "${BOOTWAIT}" "${USER_CONFIG_FILE}"
|
writeConfigKey "bootwait" "${BOOTWAIT}" "${USER_CONFIG_FILE}"
|
||||||
NEXT="w"
|
NEXT="w"
|
||||||
@ -2421,6 +2423,18 @@ function advancedMenu() {
|
|||||||
writeConfigKey "kernelway" "${KERNELWAY}" "${USER_CONFIG_FILE}"
|
writeConfigKey "kernelway" "${KERNELWAY}" "${USER_CONFIG_FILE}"
|
||||||
NEXT="k"
|
NEXT="k"
|
||||||
;;
|
;;
|
||||||
|
7)
|
||||||
|
DIALOG --title "$(TEXT "Advanced")" \
|
||||||
|
--yesno "$(TEXT "Modifying this item requires a reboot, continue?")" 0 0
|
||||||
|
RET=$?
|
||||||
|
[ ${RET} -ne 0 ] && continue
|
||||||
|
checkCmdline "rr_cmdline" "nomodeset" && delCmdline "rr_cmdline" "nomodeset" || addCmdline "rr_cmdline" "nomodeset"
|
||||||
|
DIALOG --title "$(TEXT "Advanced")" \
|
||||||
|
--infobox "$(TEXT "Reboot to RR")" 0 0
|
||||||
|
rebootTo config
|
||||||
|
exit 0
|
||||||
|
NEXT="7"
|
||||||
|
;;
|
||||||
n)
|
n)
|
||||||
rm -f "${TMP_PATH}/opts"
|
rm -f "${TMP_PATH}/opts"
|
||||||
echo "5 \"Reboot after 5 seconds\"" >>"${TMP_PATH}/opts"
|
echo "5 \"Reboot after 5 seconds\"" >>"${TMP_PATH}/opts"
|
||||||
@ -2429,9 +2443,9 @@ function advancedMenu() {
|
|||||||
DIALOG --title "$(TEXT "Advanced")" \
|
DIALOG --title "$(TEXT "Advanced")" \
|
||||||
--default-item "${KERNELPANIC}" --menu "$(TEXT "Choose a time(seconds)")" 0 0 0 --file "${TMP_PATH}/opts" \
|
--default-item "${KERNELPANIC}" --menu "$(TEXT "Choose a time(seconds)")" 0 0 0 --file "${TMP_PATH}/opts" \
|
||||||
2>${TMP_PATH}/resp
|
2>${TMP_PATH}/resp
|
||||||
[ $? -ne 0 ] && return
|
[ $? -ne 0 ] && continue
|
||||||
resp=$(cat ${TMP_PATH}/resp 2>/dev/null)
|
resp=$(cat ${TMP_PATH}/resp 2>/dev/null)
|
||||||
[ -z "${resp}" ] && return
|
[ -z "${resp}" ] && continue
|
||||||
KERNELPANIC=${resp}
|
KERNELPANIC=${resp}
|
||||||
writeConfigKey "kernelpanic" "${KERNELPANIC}" "${USER_CONFIG_FILE}"
|
writeConfigKey "kernelpanic" "${KERNELPANIC}" "${USER_CONFIG_FILE}"
|
||||||
NEXT="n"
|
NEXT="n"
|
||||||
@ -2556,7 +2570,7 @@ function advancedMenu() {
|
|||||||
o)
|
o)
|
||||||
DIALOG --title "$(TEXT "Advanced")" \
|
DIALOG --title "$(TEXT "Advanced")" \
|
||||||
--yesno "$(TEXT "This option only installs opkg package management, allowing you to install more tools for use and debugging. Do you want to continue?")" 0 0
|
--yesno "$(TEXT "This option only installs opkg package management, allowing you to install more tools for use and debugging. Do you want to continue?")" 0 0
|
||||||
[ $? -ne 0 ] && return
|
[ $? -ne 0 ] && continue
|
||||||
rm -f "${LOG_FILE}"
|
rm -f "${LOG_FILE}"
|
||||||
while true; do
|
while true; do
|
||||||
wget http://bin.entware.net/x64-k3.2/installer/generic.sh -O "generic.sh" >"${LOG_FILE}"
|
wget http://bin.entware.net/x64-k3.2/installer/generic.sh -O "generic.sh" >"${LOG_FILE}"
|
||||||
@ -2582,7 +2596,7 @@ function advancedMenu() {
|
|||||||
p)
|
p)
|
||||||
DIALOG --title "$(TEXT "Advanced")" \
|
DIALOG --title "$(TEXT "Advanced")" \
|
||||||
--yesno "$(TEXT "Warning:\nDo not terminate midway, otherwise it may cause damage to the RR. Do you want to continue?")" 0 0
|
--yesno "$(TEXT "Warning:\nDo not terminate midway, otherwise it may cause damage to the RR. Do you want to continue?")" 0 0
|
||||||
[ $? -ne 0 ] && return
|
[ $? -ne 0 ] && continue
|
||||||
DIALOG --title "$(TEXT "Advanced")" \
|
DIALOG --title "$(TEXT "Advanced")" \
|
||||||
--infobox "$(TEXT "Saving ...\n(It usually takes 5-10 minutes, please be patient and wait.)")" 0 0
|
--infobox "$(TEXT "Saving ...\n(It usually takes 5-10 minutes, please be patient and wait.)")" 0 0
|
||||||
RDXZ_PATH="${TMP_PATH}/rdxz_tmp"
|
RDXZ_PATH="${TMP_PATH}/rdxz_tmp"
|
||||||
@ -2596,8 +2610,9 @@ function advancedMenu() {
|
|||||||
cp -Rf "$(dirname ${WORK_PATH})" "${RDXZ_PATH}/"
|
cp -Rf "$(dirname ${WORK_PATH})" "${RDXZ_PATH}/"
|
||||||
(
|
(
|
||||||
cd "${RDXZ_PATH}"
|
cd "${RDXZ_PATH}"
|
||||||
find . 2>/dev/null | cpio -o -H newc -R root:root | xz -9 --check=crc32 >"${RR_RAMDISK_FILE}"
|
find . 2>/dev/null | cpio -o -H newc -R root:root | pv -n -s $(du -sb ${RDXZ_PATH} | awk '{print $1}') | xz -9 --check=crc32 >"${RR_RAMDISK_FILE}"
|
||||||
) || true
|
) 2>&1 | DIALOG --title "$(TEXT "Advanced")" \
|
||||||
|
--gauge "$(TEXT "Saving ...\n(It usually takes 5-10 minutes, please be patient and wait.)")" 8 100
|
||||||
rm -rf "${RDXZ_PATH}"
|
rm -rf "${RDXZ_PATH}"
|
||||||
DIALOG --title "$(TEXT "Advanced")" \
|
DIALOG --title "$(TEXT "Advanced")" \
|
||||||
--msgbox ""$(TEXT "Save is complete.")"" 0 0
|
--msgbox ""$(TEXT "Save is complete.")"" 0 0
|
||||||
@ -3510,7 +3525,7 @@ else
|
|||||||
NEXT="e"
|
NEXT="e"
|
||||||
while true; do
|
while true; do
|
||||||
echo -n "" >"${TMP_PATH}/menu"
|
echo -n "" >"${TMP_PATH}/menu"
|
||||||
echo "p \"$(TEXT "Poweroff")\"" >>"${TMP_PATH}/menu"
|
echo "p \"$(TEXT "Power off")\"" >>"${TMP_PATH}/menu"
|
||||||
echo "r \"$(TEXT "Reboot")\"" >>"${TMP_PATH}/menu"
|
echo "r \"$(TEXT "Reboot")\"" >>"${TMP_PATH}/menu"
|
||||||
echo "x \"$(TEXT "Reboot to RR")\"" >>"${TMP_PATH}/menu"
|
echo "x \"$(TEXT "Reboot to RR")\"" >>"${TMP_PATH}/menu"
|
||||||
echo "y \"$(TEXT "Reboot to Recovery")\"" >>"${TMP_PATH}/menu"
|
echo "y \"$(TEXT "Reboot to Recovery")\"" >>"${TMP_PATH}/menu"
|
||||||
@ -3528,7 +3543,7 @@ else
|
|||||||
case "$(cat ${TMP_PATH}/resp)" in
|
case "$(cat ${TMP_PATH}/resp)" in
|
||||||
p)
|
p)
|
||||||
DIALOG --title "$(TEXT "Main menu")" \
|
DIALOG --title "$(TEXT "Main menu")" \
|
||||||
--infobox "$(TEXT "Poweroff")" 0 0
|
--infobox "$(TEXT "Power off")" 0 0
|
||||||
poweroff
|
poweroff
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
|
@ -23,6 +23,8 @@ platforms:
|
|||||||
dt: false
|
dt: false
|
||||||
flags:
|
flags:
|
||||||
- "movbe"
|
- "movbe"
|
||||||
|
noflags:
|
||||||
|
- "x2apic"
|
||||||
synoinfo:
|
synoinfo:
|
||||||
<<: *synoinfo
|
<<: *synoinfo
|
||||||
productvers:
|
productvers:
|
||||||
@ -104,6 +106,8 @@ platforms:
|
|||||||
kver: "4.4.302"
|
kver: "4.4.302"
|
||||||
geminilake:
|
geminilake:
|
||||||
dt: true
|
dt: true
|
||||||
|
noflags:
|
||||||
|
- "x2apic"
|
||||||
synoinfo:
|
synoinfo:
|
||||||
<<: *synoinfo
|
<<: *synoinfo
|
||||||
productvers:
|
productvers:
|
||||||
@ -115,6 +119,8 @@ platforms:
|
|||||||
kver: "4.4.302"
|
kver: "4.4.302"
|
||||||
purley:
|
purley:
|
||||||
dt: true
|
dt: true
|
||||||
|
noflags:
|
||||||
|
- "x2apic"
|
||||||
synoinfo:
|
synoinfo:
|
||||||
<<: *synoinfo
|
<<: *synoinfo
|
||||||
supportsas: "no"
|
supportsas: "no"
|
||||||
|
@ -10,6 +10,8 @@ insmod linux
|
|||||||
insmod gzio
|
insmod gzio
|
||||||
insmod fat
|
insmod fat
|
||||||
insmod ext2
|
insmod ext2
|
||||||
|
insmod png
|
||||||
|
insmod jpeg
|
||||||
|
|
||||||
set default="boot"
|
set default="boot"
|
||||||
set timeout="5"
|
set timeout="5"
|
||||||
@ -49,7 +51,10 @@ if loadfont unicode; then
|
|||||||
terminal_output gfxterm
|
terminal_output gfxterm
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set menu_color_normal=light-cyan/dark-gray
|
background_image $prefix/logo.png
|
||||||
|
|
||||||
|
set color_normal=white/black
|
||||||
|
set menu_color_normal=light-cyan/black
|
||||||
set menu_color_highlight=black/cyan
|
set menu_color_highlight=black/cyan
|
||||||
|
|
||||||
if serial --unit=0 --speed=115200; then
|
if serial --unit=0 --speed=115200; then
|
||||||
@ -65,7 +70,7 @@ function set_gfxpayload {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
set RR_CMDLINE="console=tty2 root=/dev/ram net.ifnames=0"
|
set RR_CMDLINE="earlyprintk earlycon=ttyS0,115200 console=ttyS0,115200 root=/dev/ram rootwait pcie_aspm=off net.ifnames=0 mitigations=auto"
|
||||||
|
|
||||||
search --set=root --label "RR3"
|
search --set=root --label "RR3"
|
||||||
if [ -s /zImage-dsm -a -s /initrd-dsm ]; then
|
if [ -s /zImage-dsm -a -s /initrd-dsm ]; then
|
||||||
@ -86,7 +91,7 @@ if [ -s /zImage-dsm -a -s /initrd-dsm ]; then
|
|||||||
menuentry 'Boot DSM' --id boot {
|
menuentry 'Boot DSM' --id boot {
|
||||||
set_gfxpayload
|
set_gfxpayload
|
||||||
echo "Loading kernel..."
|
echo "Loading kernel..."
|
||||||
linux /bzImage-rr ${RR_CMDLINE}
|
linux /bzImage-rr ${RR_CMDLINE} ${rr_cmdline}
|
||||||
echo "Loading initramfs..."
|
echo "Loading initramfs..."
|
||||||
initrd /initrd-rr
|
initrd /initrd-rr
|
||||||
echo "Booting..."
|
echo "Booting..."
|
||||||
@ -94,7 +99,7 @@ if [ -s /zImage-dsm -a -s /initrd-dsm ]; then
|
|||||||
menuentry 'Boot Recovery' --id recovery {
|
menuentry 'Boot Recovery' --id recovery {
|
||||||
set_gfxpayload
|
set_gfxpayload
|
||||||
echo "Loading kernel..."
|
echo "Loading kernel..."
|
||||||
linux /bzImage-rr ${RR_CMDLINE} recovery
|
linux /bzImage-rr ${RR_CMDLINE} ${rr_cmdline} recovery
|
||||||
echo "Loading initramfs..."
|
echo "Loading initramfs..."
|
||||||
initrd /initrd-rr
|
initrd /initrd-rr
|
||||||
echo "Booting..."
|
echo "Booting..."
|
||||||
@ -102,7 +107,7 @@ if [ -s /zImage-dsm -a -s /initrd-dsm ]; then
|
|||||||
menuentry 'Force re-install DSM' --id junior {
|
menuentry 'Force re-install DSM' --id junior {
|
||||||
set_gfxpayload
|
set_gfxpayload
|
||||||
echo "Loading kernel..."
|
echo "Loading kernel..."
|
||||||
linux /bzImage-rr ${RR_CMDLINE} force_junior
|
linux /bzImage-rr ${RR_CMDLINE} ${rr_cmdline} force_junior
|
||||||
echo "Loading initramfs..."
|
echo "Loading initramfs..."
|
||||||
initrd /initrd-rr
|
initrd /initrd-rr
|
||||||
echo "Booting..."
|
echo "Booting..."
|
||||||
@ -112,7 +117,7 @@ fi
|
|||||||
menuentry 'Configure loader' --id config {
|
menuentry 'Configure loader' --id config {
|
||||||
set_gfxpayload
|
set_gfxpayload
|
||||||
echo "Loading kernel..."
|
echo "Loading kernel..."
|
||||||
linux /bzImage-rr ${RR_CMDLINE} IWANTTOCHANGETHECONFIG
|
linux /bzImage-rr ${RR_CMDLINE} ${rr_cmdline} IWANTTOCHANGETHECONFIG
|
||||||
echo "Loading initramfs..."
|
echo "Loading initramfs..."
|
||||||
initrd /initrd-rr
|
initrd /initrd-rr
|
||||||
echo "Booting..."
|
echo "Booting..."
|
||||||
|
BIN
files/mnt/p1/boot/grub/logo.png
Normal file
BIN
files/mnt/p1/boot/grub/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.6 KiB |
@ -2,6 +2,7 @@ remove:
|
|||||||
replace:
|
replace:
|
||||||
"files/mnt/p1/RR_VERSION": "/mnt/p1/RR_VERSION"
|
"files/mnt/p1/RR_VERSION": "/mnt/p1/RR_VERSION"
|
||||||
"files/mnt/p1/boot/grub/grub.cfg": "/mnt/p1/boot/grub/grub.cfg"
|
"files/mnt/p1/boot/grub/grub.cfg": "/mnt/p1/boot/grub/grub.cfg"
|
||||||
|
"files/mnt/p1/boot/grub/logo.png": "/mnt/p1/boot/grub/logo.png"
|
||||||
"files/mnt/p1/EFI/BOOT/SynoBootLoader.conf": "/mnt/p1/EFI/BOOT/SynoBootLoader.conf"
|
"files/mnt/p1/EFI/BOOT/SynoBootLoader.conf": "/mnt/p1/EFI/BOOT/SynoBootLoader.conf"
|
||||||
"files/mnt/p1/EFI/BOOT/SynoBootLoader.efi": "/mnt/p1/EFI/BOOT/SynoBootLoader.efi"
|
"files/mnt/p1/EFI/BOOT/SynoBootLoader.efi": "/mnt/p1/EFI/BOOT/SynoBootLoader.efi"
|
||||||
"files/mnt/p3/bzImage-rr": "/mnt/p3/bzImage-rr"
|
"files/mnt/p3/bzImage-rr": "/mnt/p3/bzImage-rr"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user