1 2 3 4 5 6 7 8 9 10
#!/bin/sh # DF-0243 setup: create the #!/bin/sh script the trigger execs. set -e cat > /tmp/df0243_s <<'EOF' #!/bin/sh echo DF0243_SCRIPT_RAN EOF chmod +x /tmp/df0243_s echo "setup: created /tmp/df0243_s" ls -l /tmp/df0243_s