Sha256: 2b50aebe1a62eba6e05fa0f6e08e59b367303e86b48c4df64952d00c843c15e3
Contents?: true
Size: 671 Bytes
Versions: 111
Compression:
Stored size: 671 Bytes
Contents
#!/bin/ksh function create_chef_txt { touch /tmp/chefinittest.txt } function delete_chef_txt { rm /tmp/chefinittest.txt } function rename_chef_txt { mv /tmp/chefinittest.txt /tmp/$1 } case "$1" in start ) create_chef_txt ;; stop ) delete_chef_txt ;; status ) [ -f /tmp/chefinittest.txt ] || [ -f /tmp/chefinittest_reload.txt ] || [ -f /tmp/chefinittest_restart.txt ] ;; reload ) rename_chef_txt "chefinittest_reload.txt" ;; restart ) rename_chef_txt "chefinittest_restart.txt" ;; * ) echo "Usage: $0 (start | stop | restart | reload)" exit 1 esac
Version data entries
111 entries across 111 versions & 1 rubygems