aboutsummaryrefslogtreecommitdiffstats
path: root/chapter9
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-15 08:32:23 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-15 08:39:39 -0500
commit8b5530be21a8e28e3e2c1b9917ca3645fbd13398 (patch)
tree8f8eee3c3e94dfdf60c025fd1fd2308738ef7341 /chapter9
parent801a63d7edbb098fdf4fa384366ba91e39845c07 (diff)
Create fail and success functions and remove trailing white spaces at ends of lines.
Diffstat (limited to 'chapter9')
-rw-r--r--chapter9/bashprofile.sh3
-rw-r--r--chapter9/bootscriptconf.sh3
-rw-r--r--chapter9/inputrc.sh3
-rw-r--r--chapter9/network.sh3
-rw-r--r--chapter9/shells.sh3
5 files changed, 5 insertions, 10 deletions
diff --git a/chapter9/bashprofile.sh b/chapter9/bashprofile.sh
index 77bc1bb..7ae73c2 100644
--- a/chapter9/bashprofile.sh
+++ b/chapter9/bashprofile.sh
@@ -1,5 +1,4 @@
-#!/bin/bash
-set -e
+#!/bin/bash
cat > /etc/profile << "EOF"
# Begin /etc/profile
diff --git a/chapter9/bootscriptconf.sh b/chapter9/bootscriptconf.sh
index 2640502..ae9633c 100644
--- a/chapter9/bootscriptconf.sh
+++ b/chapter9/bootscriptconf.sh
@@ -1,5 +1,4 @@
-#!/bin/bash
-set -e
+#!/bin/bash
cat > /etc/inittab << "EOF"
# Begin /etc/inittab
diff --git a/chapter9/inputrc.sh b/chapter9/inputrc.sh
index 05c7dde..5da8f3b 100644
--- a/chapter9/inputrc.sh
+++ b/chapter9/inputrc.sh
@@ -1,5 +1,4 @@
-#!/bin/bash
-set -e
+#!/bin/bash
cat > /etc/inputrc << "EOF"
# Begin /etc/inputrc
diff --git a/chapter9/network.sh b/chapter9/network.sh
index 1cd1739..05ab2fd 100644
--- a/chapter9/network.sh
+++ b/chapter9/network.sh
@@ -1,5 +1,4 @@
-#!/bin/bash
-set -e
+#!/bin/bash
pushd /etc/sysconfig/ >/dev/null || exit 1
cat > ifconfig.eth0 << "EOF"
diff --git a/chapter9/shells.sh b/chapter9/shells.sh
index ac66dd6..dbeced4 100644
--- a/chapter9/shells.sh
+++ b/chapter9/shells.sh
@@ -1,5 +1,4 @@
-#!/bin/bash
-set -e
+#!/bin/bash
cat > /etc/shells << "EOF"
# Begin /etc/shells