Compare commits

...

5 Commits

Author SHA1 Message Date
github-actions[bot]
df27459898 update 2024-12-06 17:32:53 2024-12-06 17:32:53 +08:00
github-actions[bot]
3ad5c7e6fa update 2024-12-06 17:03:22 2024-12-06 17:03:22 +08:00
Ing
404d037dbd fix lang 2024-12-06 15:38:48 +08:00
Ing
eeb87463b6 优化 changePorts 函数,简化端口配置保存和服务重启逻辑 2024-12-06 15:16:46 +08:00
Ing
7faab1b46d 优化 grub 配置,简化模块加载并调整终端输出设置 2024-12-06 15:15:09 +08:00
27 changed files with 7411 additions and 6190 deletions

View File

@ -1 +1 @@
24.12.1
24.12.2

Binary file not shown.

Binary file not shown.

View File

@ -8,6 +8,10 @@
"description": "RealTek RTL-8139 Fast Ethernet driver",
"depends": "mii"
},
"8390": {
"description": "",
"depends": ""
},
"aacraid": {
"description": "Dell PERC2, 2/Si, 3/Si, 3/Di, Adaptec Advanced Raid Products, HP NetRAID-4M, IBM ServeRAID & ICP SCSI driver (Compiled by RR for DSM)",
"depends": ""
@ -648,6 +652,10 @@
"description": "Driver for NCT6775F and compatible chips (Compiled by RR for DSM)",
"depends": "hwmon-vid"
},
"ne2k-pci": {
"description": "PCI NE2000 clone driver",
"depends": "8390"
},
"netxen_nic": {
"description": "QLogic/NetXen (1/10) GbE Intelligent Ethernet Driver",
"depends": ""

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -1,4 +1,4 @@
RR_VERSION="24.12.1"
RR_VERSION="24.12.2"
RR_RELEASE=""
RR_TITLE="RR v${RR_VERSION}"

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

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

View File

@ -2781,9 +2781,9 @@ function changePorts() {
--infobox "$(TEXT "Setting ...")" 20 100
# save to rrorg.conf
rm -f "/etc/rrorg.conf"
[ ! "${HTTP:-7080}" = "7080" ] && (echo "HTTP_PORT=${HTTP}" >>"/etc/rrorg.conf" && /etc/init.d/S90thttpd restart >/dev/null 2>&1)
[ ! "${DUFS:-7304}" = "7304" ] && (echo "DUFS_PORT=${DUFS}" >>"/etc/rrorg.conf" && /etc/init.d/S99dufs restart >/dev/null 2>&1)
[ ! "${TTYD:-7681}" = "7681" ] && (echo "TTYD_PORT=${TTYD}" >>"/etc/rrorg.conf" && /etc/init.d/S99ttyd restart >/dev/null 2>&1)
[ ! "${HTTP:-7080}" = "7080" ] && echo "HTTP_PORT=${HTTP}" >>"/etc/rrorg.conf"
[ ! "${DUFS:-7304}" = "7304" ] && echo "DUFS_PORT=${DUFS}" >>"/etc/rrorg.conf"
[ ! "${TTYD:-7681}" = "7681" ] && echo "TTYD_PORT=${TTYD}" >>"/etc/rrorg.conf"
# save to rru
local RDXZ_PATH="${TMP_PATH}/rdxz_tmp"
rm -rf "${RDXZ_PATH}"
@ -2826,6 +2826,11 @@ function changePorts() {
rm -f "${RR_RAMUSER_FILE}"
fi
rm -rf "${RDXZ_PATH}"
{
[ ! "${HTTP:-7080}" = "7080" ] && /etc/init.d/S90thttpd restart
[ ! "${DUFS:-7304}" = "7304" ] && /etc/init.d/S99dufs restart
[ ! "${TTYD:-7681}" = "7681" ] && /etc/init.d/S99ttyd restart
} >/dev/null 2>&1 &
[ ! -f "/etc/rrorg.conf" ] && MSG="$(TEXT "Ports for TTYD/DUFS/HTTP restored.")" || MSG="$(TEXT "Ports for TTYD/DUFS/HTTP changed.")"
DIALOG --title "$(TEXT "Settings")" \
--msgbox "${MSG}" 0 0

View File

@ -1 +1 @@
24.12.1
24.12.2

View File

@ -1,30 +1,14 @@
insmod search
insmod echo
insmod terminal
insmod test
insmod font
insmod loadenv
insmod serial
insmod usb_keyboard
insmod linux
insmod gzio
insmod fat
insmod ext2
insmod ata
insmod btrfs
insmod ntfs
insmod part_msdos
insmod part_gpt
insmod png
insmod jpeg
set default="boot"
set timeout="5"
set timeout_style="menu"
set pager=1
set vesa_mode=1
set color_normal=white/black
set menu_color_normal=light-cyan/black
set menu_color_highlight=black/cyan
if [ -s $prefix/grubenv ]; then
load_env
if [ -s ${prefix}/grubenv ]; then
load_env --skip-sig
fi
if [ "${next_entry}" ]; then
set default="${next_entry}"
@ -35,38 +19,37 @@ if [ "${vesa_mode}" ]; then
set vesa_mode=${vesa_mode}
fi
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
terminal_input console
terminal_output console
if [ "${feature_all_video_module}" = "y" ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
load_video
if loadfont unicode; then
set gfxmode=auto
insmod gfxterm
terminal_output gfxterm
if [ "${grub_platform}" = "efi" ]; then
terminal_output --append gfxterm
else
terminal_output gfxterm
fi
fi
background_image $prefix/logo.png
set color_normal=white/black
set menu_color_normal=light-cyan/black
set menu_color_highlight=black/cyan
if serial --unit=0 --speed=115200; then
terminal_input --append serial_com0
terminal_output --append serial_com0
if serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1; then
terminal_input --append serial
terminal_output --append serial
fi
insmod png
background_image ${prefix}/logo.png
function set_gfxpayload {
if [ ${vesa_mode} -eq 1 ]; then
set gfxpayload=keep
@ -75,7 +58,7 @@ function set_gfxpayload {
fi
}
set RR_CMDLINE="earlyprintk earlycon=uart8250,io,0x3f8,115200n8 console=ttyS0,115200n8 root=/dev/ram rootwait nointremap net.ifnames=0 panic=5 split_lock_detect=off pcie_aspm=off intel_pstate=disable nox2apic nomodeset"
set RR_CMDLINE="earlyprintk earlycon=uart8250,io,0x3f8,115200n8 console=ttyS0,115200n8 root=/dev/ram rootwait intremap=off net.ifnames=0 panic=5 split_lock_detect=off pcie_aspm=off intel_pstate=disable nox2apic nomodeset"
search --set=root --label "RR3"
if [ -s /zImage-dsm -a -s /initrd-dsm ]; then