This file is indexed.

/etc/init.d/bootcdflop is in bootcd 4.05.

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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#!/bin/sh
#
### BEGIN INIT INFO
# Provides:          bootcdflop
# Required-Start:    mountall-bootclean $local_fs
# Required-Stop:
# X-Start-Before:    networking
# Default-Start:     S
# Default-Stop:      
# Short-Description: bootcdflop reads changes from floppy if running from bootcd
# Description:       When running from bootcd this script tries to access 
#                    the floppy to read changes last time saved with 
#                    bootcdflopcp from a running bootcd.
### END INIT INFO

MNT=/mnt
FLOPPY=/dev/fd0
BOOT_ONLY_WITH_FLOPPY="no"
FSTYPES="ext3,ext2,reiserfs,iso9660,vfat,auto"

startscript()
{
  # bootcdwrite modifies this script. FLOPPY could be unset.
  if [ ! "$FLOPPY" ]; then
    echo "No Floppy device specified !!"
    exit 0
  fi
  
  echo "Reading floppy"
  fsck -a -t $FSTYPES $FLOPPY
  mount -v -o ro -n -t $FSTYPES $FLOPPY $MNT
  RET=$?
    
  if [ "$BOOT_ONLY_WITH_FLOPPY" = "yes" -a $RET -ne 0 ]; then
    echo "The floppy could not be mounted."
    echo "Manual interaction required."
    # Start a single user shell on the console
    /sbin/sulogin $CONSOLE
  fi
  
  [ -f $MNT/change.tgz ] && (cd /; tar xzf $MNT/change.tgz)
  
  [ -f $MNT/remove ] && for i in `cat $MNT/remove`
  do
    rm -f /$i
  done
  
  [ -x $MNT/execute ] && $MNT/execute
  
  umount $MNT
  
  # If something has been changed in /etc/inittab
  init q
}

case "$1" in
  start)
        # Only run this script if we have booted from bootcd
        if [ "$(grep "\<bootcd=" /proc/cmdline)" ]; then
          startscript
        fi
	;;
  restart) 
  	;;
  status)
        ;;
  force-reload)
  	;;
  stop)
  	;;
  restart)
  	;;
  force-reload)
        ;;
  *)
	echo "Usage: /etc/init.d/bootcdram start" >&2
	exit 1
	;;
esac

exit 0