This file is indexed.

/etc/network/if-up.d/htpdate is in htpdate 1.1.3-1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#! /bin/sh
# Restart htpdate when an interface comes up.
# Based on Debian SSH ifup script. Thanks!

set -e

# Is active the ifup procedure?
. /etc/default/htpdate || exit 0

if [ "$HTP_IFUP" = "no" ]; then
    exit 0
fi

# Ignore loopback.
if [ "$IFACE" = lo ]; then
        exit 0
fi

# ifup only...
if [ "$MODE" != start ]; then
        exit 0
fi

# restart.
if [ -x /usr/sbin/invoke-rc.d ]; then
        invoke-rc.d htpdate restart >/dev/null 2>&1 || true
else
        /etc/init.d/htpdate restart >/dev/null 2>&1 || true
fi

exit 0