This file is indexed.

preinst is in fai-nfsroot 5.3.6ubuntu1.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#!/bin/sh -e

if [ ! -f /.THIS_IS_THE_FAI_NFSROOT ]; then
    echo "ERROR: The package fai-nfsroot can only be installed inside the nfsroot."
    exit 1
fi

dpkg-divert --package fai-nfsroot --add --rename /etc/init.d/rcS



exit 0