Browse Source

initial commit of skel

pull/3152/head
Daniel Gibbs 5 years ago
parent
commit
6ec97a7c42
  1. 12
      lgsm/functions/command_skeleton.sh
  2. 5
      lgsm/functions/core_functions.sh

12
lgsm/functions/command_skeleton.sh

@ -0,0 +1,12 @@
#!/bin/bash
# LinuxGSM command_skeleton.sh function
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Description: Creates an copy of a game servers directorys.
fn_print_dots ""
check.sh
# Find all directorys and create them in the skel directory
find ${rootdir} -type d -not \( -path ./skel -prune \)

5
lgsm/functions/core_functions.sh

@ -155,6 +155,11 @@ functionfile="${FUNCNAME[0]}"
fn_fetch_function
}
command_skeleton.sh(){
functionfile="${FUNCNAME[0]}"
fn_fetch_function
}
command_wipe.sh(){
functionfile="${FUNCNAME[0]}"
fn_fetch_function

Loading…
Cancel
Save