heroku-buildpack-uml/bin/uml_run

7 lines
262 B
Plaintext
Raw Normal View History

2017-12-10 18:26:24 +00:00
#!/bin/bash -x
2017-12-10 17:06:11 +00:00
echo "$1" > "$APP/uml_command"
2017-12-10 19:10:13 +00:00
TEMP="$APP" "$APP/uml/uml" root=/dev/root con0=fd:1,fd:1 rw rootflags=/ rootfstype=hostfs init="$APP/uml/init" eth0=slirp,10.0.2.15,"$APP/uml/slirp" mem=${MEM}M quiet app="$APP"
2017-12-10 18:55:49 +00:00
rm "$APP/fifo"
2017-12-10 17:06:11 +00:00
rm "$APP/uml_command"