Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Timothy Frew
Sympl
Commits
2d60f72d
Commit
2d60f72d
authored
Mar 16, 2011
by
Steve Kemp
Browse files
bash not sh
parent
d16ae5cd
Changes
26
Hide whitespace changes
Inline
Side-by-side
apache/debian/symbiosis-httpd.postinst
View file @
2d60f72d
#!/bin/sh
#!/bin/
ba
sh
#
# This script has to do a lot of things, mostly relating to the Apache
# setup.
...
...
apache/debian/symbiosis-httpd.prerm
View file @
2d60f72d
#!/bin/sh
#!/bin/
ba
sh
set
-e
...
...
backup/etc/symbiosis/backup.d/pre-backup.d/10-dump-mysql
View file @
2d60f72d
#!/bin/sh
#!/bin/
ba
sh
#
# This script is designed to dump all the MySQL databases upon
# the local system.
...
...
common/debian/postinst
View file @
2d60f72d
#!/bin/sh
#!/bin/
ba
sh
#
# This script has the task of performing the "common" post-install
# setup for all the Symbiosis packages.
...
...
dns/debian/postinst
View file @
2d60f72d
#!/bin/sh
#!/bin/
ba
sh
#
...
...
dns/debian/preinst
View file @
2d60f72d
#!/bin/sh
#!/bin/
ba
sh
set
-e
...
...
email/debian/postinst
View file @
2d60f72d
#!/bin/sh
#!/bin/
ba
sh
set
-e
...
...
email/debian/preinst
View file @
2d60f72d
#!/bin/sh
#!/bin/
ba
sh
set
-e
...
...
firewall/bin/firewall
View file @
2d60f72d
...
...
@@ -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/
ba
sh.
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/
ba
sh
#
# This firewall script was automatically generated by the
# Bytemark Symbiosis firewall package.
...
...
firewall/debian/postinst
View file @
2d60f72d
#!/bin/sh
#!/bin/
ba
sh
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/
ba
sh
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/
ba
sh
echo "Loading firewall"
/usr/bin/firewall
echo "Done"
EOF
cat
>
/etc/network/if-down.d/bytemark-firewall
<<
EOF
#!/bin/sh
#!/bin/
ba
sh
echo "Cleaning firewall"
/usr/bin/firewall --flush
echo "Done"
...
...
ftpd/debian/postinst
View file @
2d60f72d
#!/bin/sh
#!/bin/
ba
sh
set
-e
...
...
ftpd/debian/postrm
View file @
2d60f72d
#!/bin/sh
#!/bin/
ba
sh
set
-e
#
...
...
ftpd/debian/prerm
View file @
2d60f72d
#!/bin/sh
#!/bin/
ba
sh
set
-e
...
...
key/debian/postinst
View file @
2d60f72d
#!/bin/sh
#!/bin/
ba
sh
set
-e
...
...
meta/debian/postinst
View file @
2d60f72d
#!/bin/sh
#!/bin/
ba
sh
set
-e
...
...
monit/debian/postinst
View file @
2d60f72d
#!/bin/sh
#!/bin/
ba
sh
set
-e
...
...
mysql/debian/symbiosis-mysql.postinst
View file @
2d60f72d
#!/bin/sh
#!/bin/
ba
sh
#
...
...
pam/debian/postinst
View file @
2d60f72d
#!/bin/sh
#!/bin/
ba
sh
set
-e
...
...
phpmyadmin/debian/postinst
View file @
2d60f72d
#!/bin/sh
#!/bin/
ba
sh
set
-e
...
...
phpmyadmin/debian/prerm
View file @
2d60f72d
#!/bin/sh
#!/bin/
ba
sh
set
-e
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment