2ca048244d
This script should be part of the Template VM RPM, rather than core RPM, because it is TemplateVM-specific, i.e. depends on the actual software installed in the VM, and also is closely related to the dispvm-dotfiles.tbz that is also part of template RPM now.
19 lines
368 B
Bash
Executable File
19 lines
368 B
Bash
Executable File
#!/bin/sh
|
|
|
|
apps="evince okular openoffice gwenview firefox"
|
|
|
|
for app in $apps ; do
|
|
echo "Launching: $app..."
|
|
$app >/tmp/dispvm_prerun_errors.log 2>&1 &
|
|
done
|
|
|
|
echo "Sleeping..."
|
|
sleep 120
|
|
|
|
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.
|
|
|