summaryrefslogtreecommitdiffstats
path: root/move
diff options
context:
space:
mode:
Diffstat (limited to 'move')
-rwxr-xr-xmove/tree/mdk_behind_totem9
1 files changed, 6 insertions, 3 deletions
diff --git a/move/tree/mdk_behind_totem b/move/tree/mdk_behind_totem
index 3cd68f788..eb7e859f1 100755
--- a/move/tree/mdk_behind_totem
+++ b/move/tree/mdk_behind_totem
@@ -24,6 +24,11 @@ while [ -n "$1" ]; do
shift
shift
;;
+ --restore-cmd)
+ RESTORE_CMD="$2"
+ shift
+ shift
+ ;;
*)
ok=''
shift
@@ -74,9 +79,7 @@ mount_cd() {
mdk_move_loop to_cdrom always always_i18n totem nvidia
# restore killed kde apps
- su -c kded $USER
- su -c kicker $USER
- su -c kdesktop $USER
+ su -c "$RESTORE_CMD" $USER
}
while [ -e "/proc/$totem_pid" ]; do