52054704d4
used to service remote iSCSI requests. WWW: http://www.netbsd.org/ PR: ports/104087 Submitted by: mark foster <mark@foster.cc>
17 lines
830 B
Text
17 lines
830 B
Text
bin/iscsi-target
|
|
%%PORTDOCS%%%%DOCSDIR%%/FAQ
|
|
%%PORTDOCS%%%%DOCSDIR%%/PERFORMANCE
|
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
|
%%PORTDOCS%%%%DOCSDIR%%/README_OSD
|
|
%%PORTDOCS%%%%DOCSDIR%%/license
|
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
|
@unexec if cmp -s %D/etc/iscsi/targets.sample %D/etc/iscsi/targets; then rm -f %D/etc/iscsi/targets; fi
|
|
etc/iscsi/targets.sample
|
|
@exec if [ ! -f %D/etc/iscsi/targets ] ; then cp -p %D/%F %B/targets; fi
|
|
@unexec if cmp -s %D/etc/iscsi/auths.sample %D/etc/iscsi/auths; then rm -f %D/etc/iscsi/auths; fi
|
|
etc/iscsi/auths.sample
|
|
@exec if [ ! -f %D/etc/iscsi/auths ] ; then cp -p %D/%F %B/auths; fi
|
|
@unexec if cmp -s %D/etc/iscsi/passwd.sample %D/etc/iscsi/passwd; then rm -f %D/etc/iscsi/passwd; fi
|
|
etc/iscsi/passwd.sample
|
|
@exec if [ ! -f %D/etc/iscsi/passwd ] ; then cp -p %D/%F %B/passwd; fi
|
|
@dirrm etc/iscsi
|