summaryrefslogtreecommitdiffstats
path: root/move/etc-monitorer.pl
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-06-22 05:44:35 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-06-22 05:44:35 +0000
commit26d228baa7b2ec5542ae3152ba1b58a186a84884 (patch)
tree24973d518d2b8e0841f53bab28b9560c78fb688e /move/etc-monitorer.pl
parent28bbb49ebf24bc00c3c3c67a3ab4739e2f914518 (diff)
downloaddrakx-26d228baa7b2ec5542ae3152ba1b58a186a84884.tar
drakx-26d228baa7b2ec5542ae3152ba1b58a186a84884.tar.gz
drakx-26d228baa7b2ec5542ae3152ba1b58a186a84884.tar.bz2
drakx-26d228baa7b2ec5542ae3152ba1b58a186a84884.tar.xz
drakx-26d228baa7b2ec5542ae3152ba1b58a186a84884.zip
- use magicdev for secondary cdrom
- have a proper mtab for magicdev+kded to work
Diffstat (limited to 'move/etc-monitorer.pl')
-rwxr-xr-xmove/etc-monitorer.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/move/etc-monitorer.pl b/move/etc-monitorer.pl
index 2f79b7a49..231b9f772 100755
--- a/move/etc-monitorer.pl
+++ b/move/etc-monitorer.pl
@@ -10,6 +10,7 @@ foreach my $dir (@ARGV) {
my @etcfiles = glob_("$dir/*");
foreach (@etcfiles) {
if ($_ eq '/etc/sudoers' #- /etc/sudoers can't be a link
+ || $_ eq '/etc/mtab' #- same for /etc/mtab
|| !-f
|| -l && readlink =~ m|^/|) { #- we want to trap relative symlinks only
next;