summaryrefslogtreecommitdiff
path: root/etc/network/if-up.d/itzks-autofs
blob: 611d78c36438f85092fe4604a5639f54af4271cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

if test -e /etc/debian-edu/config; then
	. /etc/debian-edu/config
fi

if [ "$IFACE" != "lo" ]; then
	:
else
	exit 0
fi

if test -e /etc/network/if-up.d/autofs; then
	exit 0
fi
if test -e /etc/network/if-up.d/debian-edu; then
	exit 0
fi

if [ "$PROFILE" = "Roaming-Workstation" ]; then
	exit 0
fi

invoke-rc.d --quiet autofs restart