summaryrefslogtreecommitdiffstats
path: root/move
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-06-21 14:36:40 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-06-21 14:36:40 +0000
commita10096d569591324399f3ae1d4b7ce587bd04a27 (patch)
treea3a300187c3727280add1d6f9235720d3553f67c /move
parentec1d1edc67f39c30cb8b337b9009fe9e7f2a0f01 (diff)
downloaddrakx-backup-do-not-use-a10096d569591324399f3ae1d4b7ce587bd04a27.tar
drakx-backup-do-not-use-a10096d569591324399f3ae1d4b7ce587bd04a27.tar.gz
drakx-backup-do-not-use-a10096d569591324399f3ae1d4b7ce587bd04a27.tar.bz2
drakx-backup-do-not-use-a10096d569591324399f3ae1d4b7ce587bd04a27.tar.xz
drakx-backup-do-not-use-a10096d569591324399f3ae1d4b7ce587bd04a27.zip
change the way we restart kdesktop and kicker
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