[fix] Typo and variable name fixes in conf_regen hooks

This commit is contained in:
Jérôme Lebleu 2016-04-16 14:41:54 +02:00
parent 047015ef61
commit 8269788172
14 changed files with 28 additions and 28 deletions

View file

@ -34,7 +34,7 @@ case "$1" in
post) post)
;; ;;
*) *)
echo "hook called with unknown argument \`$status'" >&2 echo "hook called with unknown argument \`$1'" >&2
exit 1 exit 1
;; ;;
esac esac

View file

@ -65,7 +65,7 @@ case "$1" in
do_post_regen do_post_regen
;; ;;
*) *)
echo "hook called with unknown argument \`$status'" >&2 echo "hook called with unknown argument \`$1'" >&2
exit 1 exit 1
;; ;;
esac esac

View file

@ -13,7 +13,7 @@ do_pre_regen() {
[[ -f /proc/net/if_inet6 ]] \ [[ -f /proc/net/if_inet6 ]] \
|| sed -i "s/ListenAddress ::/#ListenAddress ::/g" sshd_config || sed -i "s/ListenAddress ::/#ListenAddress ::/g" sshd_config
install -D sshd_config "${pending_conf}/etc/ssh/sshd_config" install -D sshd_config "${pending_dir}/etc/ssh/sshd_config"
fi fi
} }
@ -32,7 +32,7 @@ case "$1" in
do_post_regen do_post_regen
;; ;;
*) *)
echo "hook called with unknown argument \`$status'" >&2 echo "hook called with unknown argument \`$1'" >&2
exit 1 exit 1
;; ;;
esac esac

View file

@ -76,7 +76,7 @@ case "$1" in
do_post_regen do_post_regen
;; ;;
*) *)
echo "hook called with unknown argument \`$status'" >&2 echo "hook called with unknown argument \`$1'" >&2
exit 1 exit 1
;; ;;
esac esac

View file

@ -24,7 +24,7 @@ case "$1" in
do_post_regen do_post_regen
;; ;;
*) *)
echo "hook called with unknown argument \`$status'" >&2 echo "hook called with unknown argument \`$1'" >&2
exit 1 exit 1
;; ;;
esac esac

View file

@ -66,7 +66,7 @@ case "$1" in
do_post_regen do_post_regen
;; ;;
*) *)
echo "hook called with unknown argument \`$status'" >&2 echo "hook called with unknown argument \`$1'" >&2
exit 1 exit 1
;; ;;
esac esac

View file

@ -19,7 +19,7 @@ do_pre_regen() {
| sed "s/{{ main_domain }}/${main_domain}/g" \ | sed "s/{{ main_domain }}/${main_domain}/g" \
> "${postfix_dir}/main.cf" > "${postfix_dir}/main.cf"
# adapt it to IPv4-only hosts # adapt it for IPv4-only hosts
if [ ! -f /proc/net/if_inet6 ]; then if [ ! -f /proc/net/if_inet6 ]; then
sed -i \ sed -i \
's/ \[::ffff:127.0.0.0\]\/104 \[::1\]\/128//g' \ 's/ \[::ffff:127.0.0.0\]\/104 \[::1\]\/128//g' \
@ -45,7 +45,7 @@ case "$1" in
do_post_regen do_post_regen
;; ;;
*) *)
echo "hook called with unknown argument \`$status'" >&2 echo "hook called with unknown argument \`$1'" >&2
exit 1 exit 1
;; ;;
esac esac

View file

@ -56,7 +56,7 @@ case "$1" in
do_post_regen do_post_regen
;; ;;
*) *)
echo "hook called with unknown argument \`$status'" >&2 echo "hook called with unknown argument \`$1'" >&2
exit 1 exit 1
;; ;;
esac esac

View file

@ -48,7 +48,7 @@ case "$1" in
do_post_regen do_post_regen
;; ;;
*) *)
echo "hook called with unknown argument \`$status'" >&2 echo "hook called with unknown argument \`$1'" >&2
exit 1 exit 1
;; ;;
esac esac

View file

@ -37,7 +37,7 @@ case "$1" in
do_post_regen do_post_regen
;; ;;
*) *)
echo "hook called with unknown argument \`$status'" >&2 echo "hook called with unknown argument \`$1'" >&2
exit 1 exit 1
;; ;;
esac esac

View file

@ -24,7 +24,7 @@ case "$1" in
do_post_regen do_post_regen
;; ;;
*) *)
echo "hook called with unknown argument \`$status'" >&2 echo "hook called with unknown argument \`$1'" >&2
exit 1 exit 1
;; ;;
esac esac

View file

@ -24,7 +24,7 @@ case "$1" in
do_post_regen do_post_regen
;; ;;
*) *)
echo "hook called with unknown argument \`$status'" >&2 echo "hook called with unknown argument \`$1'" >&2
exit 1 exit 1
;; ;;
esac esac

View file

@ -24,7 +24,7 @@ case "$1" in
do_post_regen do_post_regen
;; ;;
*) *)
echo "hook called with unknown argument \`$status'" >&2 echo "hook called with unknown argument \`$1'" >&2
exit 1 exit 1
;; ;;
esac esac

View file

@ -28,7 +28,7 @@ case "$1" in
do_post_regen do_post_regen
;; ;;
*) *)
echo "hook called with unknown argument \`$status'" >&2 echo "hook called with unknown argument \`$1'" >&2
exit 1 exit 1
;; ;;
esac esac