File: preinst

package info (click to toggle)
hwtools 0.8-0.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,316 kB
  • ctags: 1,141
  • sloc: ansic: 6,028; asm: 2,223; makefile: 278; sh: 109; csh: 42
file content (13 lines) | stat: -rw-r--r-- 241 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh -e

if [ "$1" = "install" -o "$1" = "upgrade" ]; then
  if [ "$2" ] ; then
    if [ -f /etc/rc.boot/hwtools -a ! -f /etc/init.d/nviboot ] ; then
      mv /etc/rc.boot/hwtools /etc/init.d/hwtools
    fi
  fi
fi

#DEBHELPER#

exit 0