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", "description": "RealTek RTL-8139 Fast Ethernet driver",
"depends": "mii" "depends": "mii"
}, },
"8390": {
"description": "",
"depends": ""
},
"aacraid": { "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)", "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": "" "depends": ""
@ -648,6 +652,10 @@
"description": "Driver for NCT6775F and compatible chips (Compiled by RR for DSM)", "description": "Driver for NCT6775F and compatible chips (Compiled by RR for DSM)",
"depends": "hwmon-vid" "depends": "hwmon-vid"
}, },
"ne2k-pci": {
"description": "PCI NE2000 clone driver",
"depends": "8390"
},
"netxen_nic": { "netxen_nic": {
"description": "QLogic/NetXen (1/10) GbE Intelligent Ethernet Driver", "description": "QLogic/NetXen (1/10) GbE Intelligent Ethernet Driver",
"depends": "" "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_RELEASE=""
RR_TITLE="RR v${RR_VERSION}" 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 --infobox "$(TEXT "Setting ...")" 20 100
# save to rrorg.conf # save to rrorg.conf
rm -f "/etc/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) [ ! "${HTTP:-7080}" = "7080" ] && echo "HTTP_PORT=${HTTP}" >>"/etc/rrorg.conf"
[ ! "${DUFS:-7304}" = "7304" ] && (echo "DUFS_PORT=${DUFS}" >>"/etc/rrorg.conf" && /etc/init.d/S99dufs restart >/dev/null 2>&1) [ ! "${DUFS:-7304}" = "7304" ] && echo "DUFS_PORT=${DUFS}" >>"/etc/rrorg.conf"
[ ! "${TTYD:-7681}" = "7681" ] && (echo "TTYD_PORT=${TTYD}" >>"/etc/rrorg.conf" && /etc/init.d/S99ttyd restart >/dev/null 2>&1) [ ! "${TTYD:-7681}" = "7681" ] && echo "TTYD_PORT=${TTYD}" >>"/etc/rrorg.conf"
# save to rru # save to rru
local RDXZ_PATH="${TMP_PATH}/rdxz_tmp" local RDXZ_PATH="${TMP_PATH}/rdxz_tmp"
rm -rf "${RDXZ_PATH}" rm -rf "${RDXZ_PATH}"
@ -2826,6 +2826,11 @@ function changePorts() {
rm -f "${RR_RAMUSER_FILE}" rm -f "${RR_RAMUSER_FILE}"
fi fi
rm -rf "${RDXZ_PATH}" 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.")" [ ! -f "/etc/rrorg.conf" ] && MSG="$(TEXT "Ports for TTYD/DUFS/HTTP restored.")" || MSG="$(TEXT "Ports for TTYD/DUFS/HTTP changed.")"
DIALOG --title "$(TEXT "Settings")" \ DIALOG --title "$(TEXT "Settings")" \
--msgbox "${MSG}" 0 0 --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 default="boot"
set timeout="5" set timeout="5"
set timeout_style="menu" set timeout_style="menu"
set pager=1
set vesa_mode=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 if [ -s ${prefix}/grubenv ]; then
load_env load_env --skip-sig
fi fi
if [ "${next_entry}" ]; then if [ "${next_entry}" ]; then
set default="${next_entry}" set default="${next_entry}"
@ -35,38 +19,37 @@ if [ "${vesa_mode}" ]; then
set vesa_mode=${vesa_mode} set vesa_mode=${vesa_mode}
fi fi
function load_video { terminal_input console
if [ x$feature_all_video_module = xy ]; then terminal_output console
insmod all_video
else if [ "${feature_all_video_module}" = "y" ]; then
insmod efi_gop insmod all_video
insmod efi_uga else
insmod ieee1275_fb insmod efi_gop
insmod vbe insmod efi_uga
insmod vga insmod vbe
insmod video_bochs insmod vga
insmod video_cirrus insmod video_bochs
fi insmod video_cirrus
} fi
load_video
if loadfont unicode; then if loadfont unicode; then
set gfxmode=auto set gfxmode=auto
insmod gfxterm if [ "${grub_platform}" = "efi" ]; then
terminal_output gfxterm terminal_output --append gfxterm
else
terminal_output gfxterm
fi
fi fi
background_image $prefix/logo.png if serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1; then
terminal_input --append serial
set color_normal=white/black terminal_output --append serial
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
fi fi
insmod png
background_image ${prefix}/logo.png
function set_gfxpayload { function set_gfxpayload {
if [ ${vesa_mode} -eq 1 ]; then if [ ${vesa_mode} -eq 1 ]; then
set gfxpayload=keep set gfxpayload=keep
@ -75,7 +58,7 @@ function set_gfxpayload {
fi 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" search --set=root --label "RR3"
if [ -s /zImage-dsm -a -s /initrd-dsm ]; then if [ -s /zImage-dsm -a -s /initrd-dsm ]; then