mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
Allow small files to be uploaded via the web
This commit is contained in:
parent
6e4f2cb365
commit
6fd17b9470
@ -414,7 +414,7 @@ function addonMenu() {
|
|||||||
--msgbox "${MSG}" 0 0
|
--msgbox "${MSG}" 0 0
|
||||||
;;
|
;;
|
||||||
o)
|
o)
|
||||||
if ! tty | grep -q "/dev/pts" || [ -z "${SSH_TTY}" ]; then
|
if ! tty | grep -q "/dev/pts"; then #if ! tty | grep -q "/dev/pts" || [ -z "${SSH_TTY}" ]; then
|
||||||
DIALOG --title "$(TEXT "Addons")" \
|
DIALOG --title "$(TEXT "Addons")" \
|
||||||
--msgbox "$(TEXT "This feature is only available when accessed via ssh (Requires a terminal that supports ZModem protocol).")" 0 0
|
--msgbox "$(TEXT "This feature is only available when accessed via ssh (Requires a terminal that supports ZModem protocol).")" 0 0
|
||||||
return
|
return
|
||||||
@ -543,7 +543,7 @@ function moduleMenu() {
|
|||||||
touch ${PART1_PATH}/.build
|
touch ${PART1_PATH}/.build
|
||||||
;;
|
;;
|
||||||
o)
|
o)
|
||||||
if ! tty | grep -q "/dev/pts" || [ -z "${SSH_TTY}" ]; then
|
if ! tty | grep -q "/dev/pts"; then #if ! tty | grep -q "/dev/pts" || [ -z "${SSH_TTY}" ]; then
|
||||||
DIALOG --title "$(TEXT "Modules")" \
|
DIALOG --title "$(TEXT "Modules")" \
|
||||||
--msgbox "$(TEXT "This feature is only available when accessed via ssh (Requires a terminal that supports ZModem protocol).")" 0 0
|
--msgbox "$(TEXT "This feature is only available when accessed via ssh (Requires a terminal that supports ZModem protocol).")" 0 0
|
||||||
return
|
return
|
||||||
@ -1504,7 +1504,7 @@ function advancedMenu() {
|
|||||||
--msgbox ""$(TEXT "Save is complete.")"" 0 0
|
--msgbox ""$(TEXT "Save is complete.")"" 0 0
|
||||||
;;
|
;;
|
||||||
d)
|
d)
|
||||||
if ! tty | grep -q "/dev/pts" || [ -z "${SSH_TTY}" ]; then
|
if ! tty | grep -q "/dev/pts"; then #if ! tty | grep -q "/dev/pts" || [ -z "${SSH_TTY}" ]; then
|
||||||
DIALOG --title "$(TEXT "Advanced")" \
|
DIALOG --title "$(TEXT "Advanced")" \
|
||||||
--msgbox "$(TEXT "This feature is only available when accessed via ssh (Requires a terminal that supports ZModem protocol).")" 0 0
|
--msgbox "$(TEXT "This feature is only available when accessed via ssh (Requires a terminal that supports ZModem protocol).")" 0 0
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user