☰
Debian Codegraph
@
0.151
/
/
debian
/
tests
/
hooks
/
override-iscsi-initiator-name
☽
☼
debian/tests/hooks/override-iscsi-initiator-name
code
plain
raw
GPL-2+
2005 - 2011 maximilian attems <
[email protected]
>; 2005 Jeff Bailey <
[email protected]
>; 2005 - 2007 David Härdeman <
[email protected]
>; 2008 - 2010 Martin Michlmayr <
[email protected]
>; 2007 - 2011 Michael Prokop <
[email protected]
>; 2005 - 2009 Scott James Remnant <
[email protected]
>; 2009 - 2024 Ben Hutchings <
[email protected]
>; 2018 - 2024 Benjamin Drung <
[email protected]
>
debian/copyright
1
#!/bin/sh
2
3
PREREQ="iscsi"
4
5
prereqs()
6
{
7
echo "$PREREQ"
8
}
9
10
case "$1" in
11
prereqs)
12
prereqs
13
exit 0
14
;;
15
esac
16
17
if test -n "${ISCSI_INITIATOR_NAME-}"; then
18
printf "InitiatorName=%s\n" "$ISCSI_INITIATOR_NAME" > "${DESTDIR}/etc/initiatorname.iscsi"
19
fi