This file is indexed.

/usr/share/tcos/scripts/tcos-bottom/60installer is in initramfs-tools-tcos 0.89.86.

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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/sh
# 
if [ "$1" = "prereqs" ]; then
  exit 0
fi

quiet=n

. /scripts/functions
. /conf/tcos-run-functions


# try to exec installer
INSTALLER=$(read_cmdline_var "installer" "0")

# try to exec installer-update
INSTALLER_UPDATE=$(read_cmdline_var "installer-update" "0")

if [ "${INSTALLER}" = "1" ]; then
   chvt 1
   # launch installer
   #clear
   /sbin/installer.sh
   echo ""
   echo "Installer done. You can reboot now or connect server."
   echo ""
   echo "    for reboot/poweroff   exec => reboot poweroff"
   echo "    for connect to server exec => startremotex"
   echo ""
   sh
elif [ "${INSTALLER_UPDATE}" = "1" ]; then
   chvt 1
   # launch installer
   #clear
   /sbin/installer.sh --update
   echo ""
   echo "Installer update done. You can reboot now or connect server."
   echo ""
   echo "    for reboot/poweroff   exec => reboot poweroff"
   echo "    for connect to server exec => startremotex"
   echo ""
fi



exit 0