This file is indexed.

/usr/share/checkbox/scripts/network_wait is in checkbox 0.13.7.

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
#!/bin/bash

set -e

x=1
while true; do
    state=$(/usr/bin/nmcli -t -f STATE nm)
    if [ "$state" = "connected" ]; then
        echo $state
        exit 0
    fi

    x=$(($x + 1))
    if [ $x -gt 12 ]; then
        echo $state
        exit 1
    fi

    sleep 5
done