File: libselinux1.postinst

package info (click to toggle)
libselinux 2.1.9-5
  • links: PTS, VCS
  • area: main
  • in suites: wheezy, wheezy-backports
  • size: 1,908 kB
  • sloc: ansic: 12,295; makefile: 293; sh: 25
file content (13 lines) | stat: -rw-r--r-- 239 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

if [ "$1" = "configure" ]; then
	# Restart init. If it fails, there is nothing we can do, so
	# just ignore the error (NOTE: Borrowed from libc6.postinst)
	telinit u 2>/dev/null || true ; sleep 1
fi

#DEBHELPER#

exit 0