#!/bin/sh -x # kill 15, fuzzy_pidofs(qr/\bkded\b/); # kdesud # done ASAP since it needs to be done and will speed up totem launch mdk_move_loop to_memory always totem cp -a /image_raw/{totem,mdk_behind_totem} /tmp sudo /tmp/mdk_behind_totem --totem-pid $$ & export MDKMOVE=$! exec /tmp/totem "$@"