File: postinst

package info (click to toggle)
set6x86 1.5-9
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 164 kB
  • ctags: 50
  • sloc: ansic: 461; makefile: 51; sh: 49
file content (12 lines) | stat: -rw-r--r-- 235 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 . > /dev/null
    # 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