File: prerm

package info (click to toggle)
autofs 3.1.4-9
  • links: PTS
  • area: main
  • in suites: potato
  • size: 416 kB
  • ctags: 291
  • sloc: ansic: 2,941; sh: 323; makefile: 164
file content (11 lines) | stat: -rw-r--r-- 188 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -e
if [ "$1" = "failed-upgrade" ]; then
	set +e
fi

if [ \( "$1" = "remove" -o "$1" = "purge" \) -a -x /etc/init.d/autofs ]; then
	/etc/init.d/autofs stop
fi

#DEBHELPER#
exit 0