From c9cb04e59113a3afb1cc9fde17dc8bb27a0a315c Mon Sep 17 00:00:00 2001 From: William Harrington Date: Thu, 15 Apr 2021 08:32:23 -0500 Subject: Create fail and success functions and remove trailing white spaces at ends of lines. --- chapter9/bashprofile.sh | 2 +- chapter9/bootscriptconf.sh | 2 +- chapter9/inputrc.sh | 2 +- chapter9/network.sh | 2 +- chapter9/shells.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'chapter9') diff --git a/chapter9/bashprofile.sh b/chapter9/bashprofile.sh index 455a6fd..7ae73c2 100644 --- a/chapter9/bashprofile.sh +++ b/chapter9/bashprofile.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash cat > /etc/profile << "EOF" # Begin /etc/profile diff --git a/chapter9/bootscriptconf.sh b/chapter9/bootscriptconf.sh index 3c00024..ae9633c 100644 --- a/chapter9/bootscriptconf.sh +++ b/chapter9/bootscriptconf.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash cat > /etc/inittab << "EOF" # Begin /etc/inittab diff --git a/chapter9/inputrc.sh b/chapter9/inputrc.sh index bab2a35..5da8f3b 100644 --- a/chapter9/inputrc.sh +++ b/chapter9/inputrc.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash cat > /etc/inputrc << "EOF" # Begin /etc/inputrc diff --git a/chapter9/network.sh b/chapter9/network.sh index e1386a4..05ab2fd 100644 --- a/chapter9/network.sh +++ b/chapter9/network.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash pushd /etc/sysconfig/ >/dev/null || exit 1 cat > ifconfig.eth0 << "EOF" diff --git a/chapter9/shells.sh b/chapter9/shells.sh index d94254c..dbeced4 100644 --- a/chapter9/shells.sh +++ b/chapter9/shells.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash cat > /etc/shells << "EOF" # Begin /etc/shells -- cgit v1.2.3-54-g00ecf