Changeset 484
- Timestamp:
- 08/12/08 23:44:55 (5 months ago)
- Files:
-
- trunk/www/cgi-bin/webif/diag.sh (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/www/cgi-bin/webif/diag.sh
r478 r484 69 69 header "Diagnostics" 70 70 71 empty "$FORM_submit" || [ "$do_not_execute" = "0" ] || echo "<font color=red>Form seems to be corrupted, \"$FORM_cmd\" was not executed for security reasons.</font>" 71 72 echo "<textarea style='width:700px; height:400px'>" 72 73 if empty "$FORM_submit"; then … … 76 77 eval $FORM_cmd 77 78 else 78 echo " Form seems to be corrupted, \"$FORM_cmd\" was not executed for security reasons."79 echo "$FORM_cmd" 79 80 fi 80 81 fi … … 97 98 EOF 98 99 100 empty "$FORM_submit" || [ "$do_not_execute" = "0" ] || echo "<font color=red>Form seems to be corrupted, no changes were saved for security reasons.</font>" 101 99 102 echo "<textarea name="commandlist" style='width:700px; height:400px'>" 100 103 if empty "$FORM_submit"; then … … 111 114 fi 112 115 else 113 echo "Form seems to be corrupted, no changes were saved for security reasons."116 [ -f /etc/config/startup-commands ] && echo "`cat /etc/config/startup-commands | grep -v "!/bin/sh"`" 114 117 fi 115 118 fi
