This file is indexed.

/etc/ppp/ip-up.d/iminitel is in xtel 3.3.0-17.

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
# $Id: ip-up.iminitel,v 1.1 2001/02/05 09:34:59 pierre Exp $
# I-Minitel
if [ "$PPP_IPPARAM" = "iminitel" ]; then
    IMINITEL_INTERFACE=$PPP_IFACE
    IMINITEL_ADDR=$PPP_REMOTE

    # Mise en place de la route
    /sbin/route add -host $DNS1 gw ${IMINITEL_ADDR}

    # Calcul adresse minitel.minitelip
    X=`host minitel.minitelip $DNS1`
    set $X

    # Adresse = dernier parametre
    i=0
    N=`expr $# - 1`
    while [ $i -lt $N ]; do
	shift
	i=`expr $i + 1`
    done
    /sbin/route add -host ${1} gw ${IMINITEL_ADDR}
    # crée le fichier d'état I-Minitel.
    # Utilise un nommage temporaire pour être sûr que tout son contenu sera
    # disponible lors de la lecture (asynchrone) par xteld.
    cat <<EOF > /var/run/iminitel.tmp
IMINITEL_SERVER=${1}
IMINITEL_INTERFACE=${IMINITEL_INTERFACE}
EOF
    mv /var/run/iminitel.tmp /var/run/iminitel
fi