arc: rewrite more messages
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
@@ -717,7 +717,7 @@ function make() {
|
||||
mkdir -p "${TMP_UP_PATH}"
|
||||
# Get new Files
|
||||
dialog --backtitle "$(backtitle)" --title "DSM Upload" --aspect 18 \
|
||||
--msgbox "Upload your DSM .pat File now to /tmp/upload.\nUse SSH/SFTP to connect to ${IPCON}\nor use Webfilebrowser: ${IPCON}:7304.\nUser: root | Password: arc\nPress OK to continue!" 0 0
|
||||
--msgbox "Upload your DSM .pat File now to /tmp/upload.\nUse Webfilebrowser: ${IPCON}:7304\nor SSH/SFTP to connect to ${IPCON}.\nUser: root | Password: arc\nPress OK to continue!" 0 0
|
||||
# Grep PAT_FILE
|
||||
PAT_FILE=$(ls ${TMP_UP_PATH}/*.pat | head -n 1)
|
||||
if [ -f "${PAT_FILE}" ] && [ $(wc -c "${PAT_FILE}" | awk '{print $1}') -gt 300000000 ]; then
|
||||
|
||||
Reference in New Issue
Block a user