summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-12-05 16:22:57 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-12-05 16:22:57 +0000
commitb750fd02497a583e2d924ef8f540d4bafaa290ec (patch)
tree8b3b69045a3cbb1d03df66b457a21de81b7ba60c
parent690c0c5602db9bf3ff954a9846a6766aa3a8e8cf (diff)
downloaddrakx-b750fd02497a583e2d924ef8f540d4bafaa290ec.tar
drakx-b750fd02497a583e2d924ef8f540d4bafaa290ec.tar.gz
drakx-b750fd02497a583e2d924ef8f540d4bafaa290ec.tar.bz2
drakx-b750fd02497a583e2d924ef8f540d4bafaa290ec.tar.xz
drakx-b750fd02497a583e2d924ef8f540d4bafaa290ec.zip
don't start services that are obviously backups of older files
-rw-r--r--move/move.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/move/move.pm b/move/move.pm
index cd3ef6274..d5dc1a7c1 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -619,7 +619,11 @@ sub install2::startMove {
touch '/var/run/utmp';
run_program::run('runlevel_set', '5');
- member($_, qw(xfs dm devfsd syslog)) or run_program::run($_, 'start') foreach glob('/etc/rc.d/rc5.d/*');
+ foreach (glob('/etc/rc.d/rc5.d/*')) {
+ next if member($_, qw(xfs dm devfsd syslog));
+ next if /~$/;
+ run_program::run($_, 'start');
+ }
#- allow user customisation of startup through /etc/rc.d/rc.local
run_program::run('/etc/rc.d/rc.local');