Debian Codegraph @

docs/example_script

raw
1 #!/bin/sh
2
3 #
4 # This script is run inside of the initramfs environment during the
5 # system boot process. It is installed there by 'update-initramfs'.
6 # The # package that owns it may opt to install it in an appropriate
7 # location under "/usr/share/initramfs-tools/scripts/".
8 #
9 # see initramfs-tools(7) for more details.
10
11 #
12 # List the soft prerequisites here. This is a space separated list of
13 # names, of scripts that are in the same directory as this one, that
14 # must be run before this one can be.
15 #
16 PREREQ=""
17
18 prereqs()
19 {
20 echo "$PREREQ"
21 }
22
23 case $1 in
24 # get pre-requisites
25 prereqs)
26 prereqs
27 exit 0
28 ;;
29 esac
30
31 # Do the work here.
32
33 echo "Got here!"
34
35 exit 0