/[smeserver]/rpms/dehydrated/sme10/dehydrated_hooks
ViewVC logotype

Annotation of /rpms/dehydrated/sme10/dehydrated_hooks

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Fri Jan 6 22:46:13 2017 UTC (7 years, 10 months ago) by unnilennium
Branch: MAIN
CVS Tags: dehydrated-0_4_0_20170205_git1163864-1_el7_sme, dehydrated-0_3_0_20160914_gitcaeed7d-3_el6_fws, dehydrated-0_3_0_20160914_gitcaeed7d-4_el7_sme
Initial import

1 unnilennium 1.1 #!/bin/sh
2    
3     ACTION=${1}
4    
5     if [ -d "/etc/dehydrated/hooks_"$ACTION".d" ]; then
6     shift
7     for H in $(find /etc/dehydrated/hooks_"$ACTION".d/ -type f -o -type l | sort); do
8     [ -x $H ] && exec $H $@
9     done
10     fi

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed