aboutsummaryrefslogtreecommitdiffstats
path: root/chapter9
diff options
context:
space:
mode:
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