This file is indexed.

/usr/sbin/synce-serial-start-device is in synce-serial 0.11-5.3.

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


THIS=`basename $0`

# include common stuff
. /usr/share/synce/synce-serial-common

exit_if_not_root

pppopts="nodefaultroute noauth local crtscts"
if [ -t 1 ]; then
  pppopts="$pppopts updetach"
fi

: ${SYNCE_DEV:=$DEFAULT_DEV}
if [ ! -e ${SYNCE_DEV} ]; then
  $ERROR "Device '$SYNCE_DEV' does not exist"
  exit 1
fi

# Shut off the connection in case it's running.
synce-serial-abort-device >/dev/null 2>&1

# Now bring up the connection
${SYNCE_PPP:-$PPPD} ${SYNCE_DEV} ${SYNCE_DEVSPEED:-115200} connect ${SYNCE_PPP_CONNECT:-/usr/sbin/synce-serial-chat} ${SYNCE_IPADDR:-$DEFAULT_IPS} ms-dns ${SYNCE_DNS:-$DEFAULT_LOCAL_IP} linkname ${SYNCE_DEVNAME:-$PEER} $pppopts $SYNCE_PPP_OPTIONS