We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44cf6ff commit ba1c09cCopy full SHA for ba1c09c
01_install-setup.sh
@@ -1,17 +1,6 @@
1
#!/bin/bash
2
-
3
-# Get task status/result
4
-# get_status <task>
5
-function get_status ()
6
-{
7
- if [ $? -eq 0 ];
8
- then
9
- echo "$1 successfully completed."
10
- else
11
- echo "$1 failed..." >&2
12
- exit 1
13
- fi
14
-}
+# Source Library/Functions
+. ./function_library
15
16
# Enable UFW (default incoming:deny, outgoing:allow)
17
echo "Enabling UFW with default settings..."
function_library
@@ -0,0 +1,13 @@
+# Get task status/result
+# get_status <task>
+
+function get_status ()
+{
+ if [ $? -eq 0 ];
+ then
+ echo "$1 successfully completed."
+ else
+ echo "$1 failed..." >&2
+ exit 1
+ fi
+}
0 commit comments