Commit 67e6d7b2 authored by Tails developers's avatar Tails developers

Make local hooks logging consistent.

parent f85b7171
......@@ -2,5 +2,7 @@
set -e
echo "Configuring loopback network interface"
echo "
iface lo inet loopback" >>/etc/network/interfaces
......@@ -7,6 +7,6 @@ set -e
# We run unsafe-browser under this user, so that we can whitelist its
# non-Torified outgoing packets.
echo "creating the clearnet user"
echo "Creating the clearnet user"
adduser --system --quiet --group clearnet
......@@ -7,6 +7,6 @@ set -e
# We run htpdate as this user, so that we can whitelist its
# non-Torified outgoing packets.
echo "creating the htp user"
echo "Creating the htp user"
adduser --system --quiet --group --no-create-home htp
......@@ -8,6 +8,6 @@ set -e
# This allows us, some day, to allow it to run in the clear,
# without going through Tor.
echo "creating the tails-iuk-get-target-file user"
echo "Creating the tails-iuk-get-target-file user"
adduser --system --quiet --group --no-create-home tails-iuk-get-target-file
......@@ -9,6 +9,6 @@ set -e
# to internal disks and to the boot medium) that we don't want to give
# to the desktop user.
echo "creating the tails-persistence-setup user"
echo "Creating the tails-persistence-setup user"
adduser --system --quiet --group --no-create-home tails-persistence-setup
......@@ -8,6 +8,6 @@ set -e
# This avoids having to grant the desktop user the right to install
# any arbitrary IUK.
echo "creating the tails-upgrade-frontend user"
echo "Creating the tails-upgrade-frontend user"
adduser --system --quiet --group --no-create-home tails-upgrade-frontend
......@@ -7,7 +7,7 @@ set -e
# We run tor-controlport-filter under this user,
# which belongs to the debian-tor group.
echo "creating the tor-controlport-filter user"
echo "Creating the tor-controlport-filter user"
adduser --system --quiet --group --no-create-home tor-controlport-filter
adduser tor-controlport-filter debian-tor
......@@ -7,7 +7,7 @@ set -e
# We run vidalia under this user,
# which belongs to the debian-tor group.
echo "creating the vidalia user"
echo "Creating the vidalia user"
adduser --system --quiet --group --no-create-home vidalia
adduser vidalia debian-tor
......
......@@ -7,7 +7,7 @@ set -e
# The tails-install-iuk program may be run as this user,
# which is granted some passwordless sudo credentials.
echo "creating the tails-install-iuk user"
echo "Creating the tails-install-iuk user"
adduser --system --quiet --group --no-create-home tails-install-iuk
adduser tails-install-iuk tails-iuk-get-target-file
......@@ -4,7 +4,7 @@ set -e
# Remove pidgin's (libpurple's) support for protocols we don't support.
echo "removing Pidgin libraries for protocols we do not support"
echo "Removing Pidgin libraries for protocols we do not support"
KEEP="irc|jabber|xmpp"
......
......@@ -2,7 +2,7 @@
set -e
echo "installing backported Xorg"
echo "Installing backported Xorg"
apt-get --yes install -t squeeze-backports \
xorg \
......
......@@ -4,7 +4,7 @@ set -e
# Remove unwanted iceweasel search plugins.
echo "removing unwanted iceweasel search plugins"
echo "Removing unwanted iceweasel search plugins"
rm /etc/iceweasel/searchplugins/common/duckduckgo.xml
rm /etc/iceweasel/searchplugins/locale/*/amazon*.xml
......
......@@ -4,7 +4,7 @@ set -e
# Build binary sqlite iceweasel files from plain text SQL files.
echo "building iceweasel sqlite files"
echo "Building iceweasel sqlite files"
INSTALLED_PACKAGES="sqlite3"
SQL_SRC_DIR=/usr/share/amnesia/iceweasel/sql
......
......@@ -2,4 +2,6 @@
set -e
echo "Removing traces of the nameservers used when building"
rm /etc/resolvconf/resolv.conf.d/original
......@@ -4,7 +4,7 @@ set -e
# Install modules managed by module-assistant
echo "installing modules managed by module-assistant"
echo "Installing modules managed by module-assistant"
MODULES=""
MA="module-assistant --text-mode --non-inter"
......
......@@ -4,7 +4,7 @@ set -e
# Compile and install a custom udev-watchdog program
echo 'compiling and installing a custom udev-watchdog program'
echo "Compiling and installing a custom udev-watchdog program"
apt-get install --yes build-essential binutils libudev-dev
......
......@@ -40,7 +40,7 @@ if ! dpkg -s insserv >/dev/null 2>&1 || [ -f /etc/init.d/.legacy-bootordering ];
exit 1
fi
echo "configuring boot sequence"
echo "Configuring boot sequence"
# The patches to adjust the runlevels are applied to the chroot
# after the packages have been installed. So we need to remove them first,
......
......@@ -2,7 +2,7 @@
set -e
echo 'Generating blocklist for all network devices'
echo "Generating blocklist for all network devices"
find /lib/modules/*/kernel/drivers/net \
-name "*.ko" -printf "blacklist %f\n" | \
......
......@@ -3,7 +3,7 @@
set -e
# Make IUKs smaller
echo "setting mtime on large files whose content generally do not change"
echo "Setting mtime on large files whose content generally do not change"
touch -t 197001010000 \
/usr/lib/locale/locale-archive \
/usr/share/ppd/hplip/HP/*.ppd \
......
......@@ -2,5 +2,5 @@
set -e
echo "removing resolv.conf symbolic link"
echo "Removing resolv.conf symbolic link"
rm /etc/resolv.conf
......@@ -2,7 +2,7 @@
set -e
echo "truncating log files"
echo "Truncating log files"
for file in $(find /var/log/ -type f); do
: > "${file}"
done
Markdown is supported
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