projects
/
grml-debootstrap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Slightly improve wording of -t and -p options
[grml-debootstrap.git]
/
chroot-script
diff --git
a/chroot-script
b/chroot-script
index
abfad4b
..
d8b8fb6
100755
(executable)
--- a/
chroot-script
+++ b/
chroot-script
@@
-357,8
+357,6
@@
hostname() {
if [ -r /etc/postfix/main.cf ] ; then
# adjust hostname related options:
sed -i "s/grml/$HOSTNAME/g" /etc/postfix/main.cf
if [ -r /etc/postfix/main.cf ] ; then
# adjust hostname related options:
sed -i "s/grml/$HOSTNAME/g" /etc/postfix/main.cf
- sed -i "s/^myhostname = .*/myhostname = $HOSTNAME/" /etc/postfix/main.cf
- sed -i "s/^mydestination = .*/mydestination = localdomain, localhost, localhost.localdomain, $HOSTNAME/" /etc/postfix/main.cf
# listen on loopback interface only:
sed -i "s/^inet_interfaces = .*/inet_interfaces = loopback-only/" /etc/postfix/main.cf
# listen on loopback interface only:
sed -i "s/^inet_interfaces = .*/inet_interfaces = loopback-only/" /etc/postfix/main.cf