diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-12-05 16:22:57 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-12-05 16:22:57 +0000 |
commit | b750fd02497a583e2d924ef8f540d4bafaa290ec (patch) | |
tree | 8b3b69045a3cbb1d03df66b457a21de81b7ba60c /move/move.pm | |
parent | 690c0c5602db9bf3ff954a9846a6766aa3a8e8cf (diff) | |
download | drakx-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
Diffstat (limited to 'move/move.pm')
-rw-r--r-- | move/move.pm | 6 |
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'); |