File: postinst

package info (click to toggle)
set6x86 1.5-3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 152 kB
  • ctags: 50
  • sloc: ansic: 460; makefile: 50; sh: 46
file content (12 lines) | stat: -rw-r--r-- 223 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/sh

if [ $1 = "configure" ] ; then
    update-rc.d set6x86 start 38 S .
    # Clean up old init script
    if [ -f /etc/rc.boot/set6x86 -a -f /etc/init.d/set6x86 ] ; then
	rm /etc/rc.boot/set6x86
    fi
fi


exit 0