tails-unblock-network.service 498 Bytes
Newer Older
1
2
3
4
5
6
[Unit]
Description=Unblock network device drivers
Documentation=https://tails.boum.org/contribute/design/MAC_address/

[Service]
Type=oneshot
intrigeri's avatar
intrigeri committed
7
RemainAfterExit=yes
8

anonym's avatar
anonym committed
9
10
# We sync to make sure the blacklist has disappeared from the
# filesystem
11
ExecStart=/bin/sh -c \
12
13
    '. /usr/local/lib/tails-shell-library/tails-greeter.sh ; \
     if tails_network_enabled ; then \
14
         /bin/rm -f /etc/modprobe.d/all-net-blacklist.conf ; \
15
         /bin/touch /etc/modprobe.d ; \
16
17
         /bin/sync ; \
     fi'