home *** CD-ROM | disk | FTP | other *** search
- #! /bin/sh
-
- set -e
-
- if [ "$1" = configure ]; then
- /usr/sbin/update-binfmts --import || true
- fi
-
- if [ -e /etc/rc2.d/S20binfmt-support ]; then
- update-rc.d -f binfmt-support remove >/dev/null 2>&1
- fi
-
- if [ -e /etc/rc0.d/K90binfmt-support ]; then
- rm -f /etc/rc0.d/K90binfmt-support /etc/rc6.d/K90binfmt-support
- fi
-
- # Automatically added by dh_installinit
- if [ -x "/etc/init.d/binfmt-support" ]; then
- update-rc.d binfmt-support start 90 2 3 4 5 . >/dev/null
- if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
- invoke-rc.d binfmt-support start || true
- else
- /etc/init.d/binfmt-support start || true
- fi
- fi
- # End automatically added section
-
-
- exit 0
-