Commit 2d60f72d authored by Steve Kemp's avatar Steve Kemp
Browse files

bash not sh

parent d16ae5cd
#!/bin/sh
#!/bin/bash
#
# This script has to do a lot of things, mostly relating to the Apache
# setup.
......
#!/bin/sh
#!/bin/bash
#
# This script is designed to dump all the MySQL databases upon
# the local system.
......
#!/bin/sh
#!/bin/bash
#
# This script has the task of performing the "common" post-install
# setup for all the Symbiosis packages.
......
#!/bin/sh
#!/bin/bash
#
......
#!/bin/sh
#!/bin/bash
set -e
......
#!/bin/sh
#!/bin/bash
set -e
......
#!/bin/sh
#!/bin/bash
set -e
......
......@@ -89,7 +89,7 @@ order.)
The presence of a file named "NN-ssh" will mean that the firewall will
include rules it knows about for the service "ssh". These rule types
may be arbitrarily complex, as they are processed via /bin/sh.
may be arbitrarily complex, as they are processed via /bin/bash.
The presence of a rule file will generally allow access to the named
service. For example the file "10-ssh" placed in the incoming directory
......@@ -655,7 +655,7 @@ sub createTemporaryFile
open( FILE, ">", $tempfile ) or
die "ERROR: Failed to open temporary file: $tempfile - $!";
print FILE <<EOF;
#!/bin/sh
#!/bin/bash
#
# This firewall script was automatically generated by the
# Bytemark Symbiosis firewall package.
......
#!/bin/sh
#!/bin/bash
set -e
......@@ -186,7 +186,7 @@ if [ -z "$CHROOT" ]; then
#
if [ -d /usr/share/denyhosts/ ]; then
cat > /etc/cron.hourly/purgy <<EOF
#!/bin/sh
#!/bin/bash
dpkg --purge bytemark-vhost-ssh-protection denyhosts 2>/dev/null >/dev/null
rm -f /etc/denyhosts.conf*
rm /etc/cron.hourly/purgy
......@@ -216,13 +216,13 @@ fi
# Setup new rules
#
cat >/etc/network/if-up.d/bytemark-firewall <<EOF
#!/bin/sh
#!/bin/bash
echo "Loading firewall"
/usr/bin/firewall
echo "Done"
EOF
cat >/etc/network/if-down.d/bytemark-firewall <<EOF
#!/bin/sh
#!/bin/bash
echo "Cleaning firewall"
/usr/bin/firewall --flush
echo "Done"
......
#!/bin/sh
#!/bin/bash
set -e
......
#!/bin/sh
#!/bin/bash
set -e
#
......
#!/bin/sh
#!/bin/bash
set -e
......
#!/bin/sh
#!/bin/bash
set -e
......
#!/bin/sh
#!/bin/bash
set -e
......
#!/bin/sh
#!/bin/bash
set -e
......
#!/bin/sh
#!/bin/bash
set -e
......
#!/bin/sh
#!/bin/bash
set -e
......
#!/bin/sh
#!/bin/bash
set -e
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment