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.pull/1/head
parent
c57666a6a5
commit
2ca048244d
@ -0,0 +1,18 @@
|
||||
#!/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.
|
||||
|
Loading…
Reference in new issue