hopefully final refactor...
This commit is contained in:
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| logs/ | ||||
| @@ -1,5 +1,9 @@ | ||||
| #!/bin/bash | ||||
|  | ||||
| ##### | ||||
| #Core framework functions... | ||||
| ##### | ||||
|  | ||||
| export FRAMEWORK_INCLUDES_FULL_PATH | ||||
| FRAMEWORK_INCLUDES_FULL_PATH="$(realpath ../Framework-Includes)" | ||||
|  | ||||
| @@ -35,20 +39,9 @@ done | ||||
| unset IFS | ||||
| fi | ||||
|  | ||||
| ##### | ||||
| #Core framework functions... | ||||
| ##### | ||||
|  | ||||
|  | ||||
| function main() | ||||
| { | ||||
|  | ||||
| PreflightCheck | ||||
|  | ||||
| echo > $LOGFILENAME | ||||
|  | ||||
| #Your custom logic here.... | ||||
| echo "Custom logic here..." | ||||
| } | ||||
|  | ||||
| main | ||||
| echo "Custom logic here..." | ||||
		Reference in New Issue
	
	Block a user