Skip to content

Commit

Permalink
remove old unused template stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
scottleibrand committed Jul 16, 2017
1 parent 2245864 commit 3e585bf
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 1,124 deletions.
27 changes: 0 additions & 27 deletions bin/oref0-template.js

This file was deleted.

15 changes: 0 additions & 15 deletions bin/oref0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ $self <cmd>
Valid commands:
oref0 device-helper - <name> <spec> : create/template a device from bash commands easily
oref0 alias-helper - <name> <spec> : create/template a alias from bash commands easily
oref0 cron-5-minute-helper - <cmds> - generate a cron template for commands
to run every 5 minutes:
oref0 cron-5-minute-helper openaps do-everything
oref0 env - print information about environment.
oref0 pebble
oref0 ifttt-notify
Expand Down Expand Up @@ -52,18 +49,6 @@ alias-helper)
shift
cat <<EOF
{"type": "alias", "name": "$name", "$name": {"command": "! bash -c \"$*\" --"}}
EOF
;;
cron-5-minute-helper)
name=${1-'openaps do-everything'}
shift
workdir=$(pwd)
cat <<EOF
SHELL=/bin/bash
PATH=$PATH
*/5 * * * * (cd $workdir && time ${name} $*) 2>&1 | logger -t openaps-loop
EOF
;;
env)
Expand Down

0 comments on commit 3e585bf

Please sign in to comment.