public
Description: My environmental monitoring stuff for the house.
Clone URL: git://github.com/dustin/environ.git
environ / initmnesia
100755 7 lines (5 sloc) 0.184 kb
1
2
3
4
5
6
7
#!/bin/sh
 
# interactive
erl "$@" -sname temp -mnesia dir "\"$HOME/tmp/mnesia\"" \
  -pa $HOME/lib/erlang/smtp_client-1.1/ebin/ \
  -pa ebin -run setup_schema init_schema -run init stop