diff options
Diffstat (limited to 't/recipes/checks/scripts/scripts-calls-init-script/build-spec/orig/test-first')
-rwxr-xr-x | t/recipes/checks/scripts/scripts-calls-init-script/build-spec/orig/test-first | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/recipes/checks/scripts/scripts-calls-init-script/build-spec/orig/test-first b/t/recipes/checks/scripts/scripts-calls-init-script/build-spec/orig/test-first new file mode 100755 index 0000000..5019218 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-calls-init-script/build-spec/orig/test-first @@ -0,0 +1,6 @@ +#!/bin/sh +if which invoke-rc.d >/dev/null 2>&1 ; then + invoke-rc.d ntp restart +else + /etc/init.d/ntp restart +fi |