File: install-optional.sh

package info (click to toggle)
openoverlayrouter 1.3.0%2Bds1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,552 kB
  • sloc: ansic: 42,180; sh: 272; makefile: 268; xml: 11
file content (18 lines) | stat: -rwxr-xr-x 477 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
#
# This script expects the non-privileged username as the first argument

set -e
set -o pipefail

export DEBIAN_FRONTEND=noninteractive

# Install various utilities
apt-get -y -q install htop tmux unzip
# Install TShark for network packet analysis
export DEBCONF_DB_FALLBACK=/vagrant/vagrant/wireshark-common_config.dat
apt-get -y -q install tshark
groupadd wireshark || true
usermod -a -G wireshark $1
chgrp wireshark /usr/bin/dumpcap
chmod 4750 /usr/bin/dumpcap