Line 191: |
Line 191: |
| * mkdir /etc/config/scripts | | * mkdir /etc/config/scripts |
| | | |
− | [[File:Screenshot 2.png|left]] | + | [[File:Screenshot 2.png|center]] |
− | | |
− | | |
− | | |
− | | |
− | | |
| | | |
| '''3.''' Then create a new .sh file. | | '''3.''' Then create a new .sh file. |
| *touch /etc/config/scripts/<filename>.sh | | *touch /etc/config/scripts/<filename>.sh |
| | | |
− | [[File:Screenshot 3.png|left]] | + | [[File:Screenshot 3.png|center]] |
| | | |
| | | |
| '''4.''' To edit the filename, use '''vi <filename>.sh'''. Press '''I'''. To save and exit, '''Press Esc''' then ''':x''' or to exit without saving, '''Press Esc''' then ''':q!'''. | | '''4.''' To edit the filename, use '''vi <filename>.sh'''. Press '''I'''. To save and exit, '''Press Esc''' then ''':x''' or to exit without saving, '''Press Esc''' then ''':q!'''. |
| | | |
− | [[File:Screenshot 4.png|left]] | + | [[File:Screenshot 4.png|center]] |
| | | |
| | | |
− | [[File:Screenshot 5.png|left]] | + | [[File:Screenshot 5.png|center]] |
| | | |
| | | |
Line 226: |
Line 221: |
| * /etc/config/script/<filename> or if you are inside script directory just run ./<filename> | | * /etc/config/script/<filename> or if you are inside script directory just run ./<filename> |
| | | |
− | [[File:Screenshot 6.png|left]] | + | [[File:Screenshot 6.png|center]] |
| | | |
| | | |
Line 232: |
Line 227: |
| '''7.''' If all configurations are correct, all parameters should be displayed in the HTTP Server | | '''7.''' If all configurations are correct, all parameters should be displayed in the HTTP Server |
| | | |
− | [[File:Screenshot 7.png|left]] | + | [[File:Screenshot 7.png|center]] |