archrelease: copy trunk to community-any
[ArchLinux/community.git] / open-iscsi / trunk / open-iscsi.install
bloba6d243a44285ed99d2117828248cf5b21cb1867a
1 post_install() {
2         if [ -z $(<etc/iscsi/initiatorname.iscsi) ]; then
3           name=$(iscsi-iname)
4           echo
5           echo ">>> Setting Initiatorname '$name'"
6           echo "InitiatorName=$name" >etc/iscsi/initiatorname.iscsi
7         fi
10 post_upgrade() {
11         post_install