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

Contents of /rpms/dehydrated/sme9/dehydrated_hooks

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


Revision 1.1 - (show annotations) (download)
Fri Jan 6 23:11:17 2017 UTC (7 years, 9 months ago) by unnilennium
Branch: MAIN
CVS Tags: dehydrated-0_5_0-3_el6_sme, dehydrated-0_4_0_20170205_git1163864-1_el6_sme, dehydrated-0_5_0-2_el6_sme, dehydrated-0_6_2-14_el6_sme, dehydrated-0_6_2-13_el6_sme, dehydrated-0_6_1-11_el6_sme, dehydrated-0_3_0_20160914_gitcaeed7d-4_el6_sme, dehydrated-0_6_1-12_el6_sme, HEAD
Initial import dehydrated for sme9

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