The version you requested (4.15.0-34.37~16.04.1) is not available, but a newer one is (4.15.0-46.49~16.04.1). We redirected you there.
This file is indexed.

preinst is in smartmontools 6.2+svn3841-1.2.

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
#!/bin/sh
set -e

dpkg-maintscript-helper rm_conffile \
        /etc/init.d/smartd 6.1+svn3812-1~ smartmontools -- "$@"