Skip to content

Commit 90f31bc

Browse files
committed
Add openvpn (#65), set mount option noatime (#50)
1 parent db3dc45 commit 90f31bc

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

lepidopter-fh/configure.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@ systemctl enable lepidopter-update
1010
# Install newest e2fsprogs due to incompatibly with ext4 file system checks
1111
apt-get -y install -t jessie-backports e2fsprogs
1212

13+
# Mount option noatime disables file access writes every time a file is read
14+
sed -i 's/\/ ext4/\/ ext4 defaults,noatime/' /etc/fstab
15+
1316
history -c

lepidopter-fh/setup-ooniprobe.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ echo "deb ${TOR_DEB_REPO} ${DEB_RELEASE} main" > ${TOR_DEB_REPO_SRC_LIST}
1212
apt-get update
1313

1414
# Install ooniprobe and pluggable transports dependencies
15-
apt-get -y install openssl libssl-dev libyaml-dev libffi-dev libpcap-dev tor \
16-
libgeoip-dev libdumbnet-dev python-dev libgmp-dev
15+
RUNLEVEL=1 apt-get -y install openssl libssl-dev libyaml-dev libffi-dev libpcap-dev tor \
16+
libgeoip-dev libdumbnet-dev python-dev libgmp-dev openvpn
1717
# Install obfs4proxy (includes a lite version of meek)
1818
apt-get -y install -t stretch obfs4proxy python-pip
1919

@@ -27,4 +27,8 @@ systemctl enable ooniprobe
2727

2828
# Stop running tor service that can lead to a busy chroot mount
2929
service tor stop
30+
31+
# Disable the OpenVPN unit
32+
systemctl disable openvpn
33+
3034
history -c

0 commit comments

Comments
 (0)