File: bootlogd.postrm

package info (click to toggle)
sysvinit 2.88dsf-59
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,300 kB
  • ctags: 1,736
  • sloc: ansic: 7,096; sh: 3,883; perl: 371; makefile: 315
file content (19 lines) | stat: -rw-r--r-- 405 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
set -e

case "$1" in
    purge)
	#
	# Remove log files
	#
	rm -f /var/log/boot

	# Remove rc symlinks in the reverse dependency order they were
	# inserted
        update-rc.d stop-bootlogd        remove >/dev/null || exit $?
        update-rc.d stop-bootlogd-single remove >/dev/null || exit $?
        update-rc.d bootlogd             remove >/dev/null || exit $?
        ;;
esac

#DEBHELPER#