qubes-linux-template-builder/vm_conf_files/dispvm-prerun.sh

20 lines
487 B
Bash
Raw Normal View History

#!/bin/sh
2012-01-15 03:38:57 +00:00
apps="evince /usr/libexec/evinced soffice firefox"
2010-07-30 14:42:17 +00:00
cat /etc/dispvm-dotfiles.tbz | tar -xjf- --overwrite -C /home/user --owner user 2>&1 >/tmp/dispvm-dotfiles-errors.log
for app in $apps ; do
echo "Launching: $app..."
$app >/tmp/dispvm_prerun_errors.log 2>&1 &
done
echo "Sleeping..."
2010-07-30 14:42:17 +00:00
sleep 60
ps ax > /tmp/dispvm-prerun-proclist.log
cat /etc/dispvm-dotfiles.tbz | tar -xjf- --overwrite -C /home/user --owner user 2>&1 >/tmp/dispvm-dotfiles-errors.log
echo done.