Changes

m
Line 155: Line 155:  
'''2.''' Create a new directory for the custom script with the following command: <code><span class="highlight">mkdir /etc/config/scripts</span></code>   
 
'''2.''' Create a new directory for the custom script with the following command: <code><span class="highlight">mkdir /etc/config/scripts</span></code>   
   −
[[File:Directory.png|border|center|class=tlt-border]]
+
[[File:Directory.png|border|center|1000px|class=tlt-border]]
    
'''3.''' Then create a new .sh file: <code><span class="highlight">touch /etc/config/scripts/<filename>.sh</span></code>
 
'''3.''' Then create a new .sh file: <code><span class="highlight">touch /etc/config/scripts/<filename>.sh</span></code>
   −
[[File:Mobparam.png|border|center|class=tlt-border]]
+
[[File:Crop1.png|border|center|class=tlt-border]]
    
'''4.''' To edit the filename, use <code><span class="highlight">vi <filename>.sh</span></code>. 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 <code><span class="highlight">vi <filename>.sh</span></code>. Press '''I'''. To save and exit, '''Press Esc''' then ''':x''' or to exit without saving, '''Press Esc''' then ''':q!'''.
   −
[[File:Vi.png|border|center|class=tlt-border]]
+
[[File:Crop2.png|border|center|class=tlt-border]]
    
'''5.''' After editing, save then run command <code><span class="highlight">chmod +x <filename></span></code> to make the script executable.
 
'''5.''' After editing, save then run command <code><span class="highlight">chmod +x <filename></span></code> to make the script executable.

Navigation menu