Remove obsolete config file diversions
[grml-etc.git] / debian / postrm
index 0527959..55199c8 100755 (executable)
@@ -9,9 +9,6 @@
 set -e
 
 TO_UNDIVERT1="ssh"
-TO_UNDIVERT2="kismet.conf"
-TO_UNDIVERT3="wlan-ng.conf"
-TO_UNDIVERT4="smb.conf"
 
 undivert_gen() {
     DEXT=${3:-original}
@@ -34,15 +31,6 @@ case "$1" in
         for cmd in $TO_UNDIVERT1; do
                 undivert_gen $cmd /etc/init.d
         done
-        for cmd in $TO_UNDIVERT2; do
-                undivert_gen $cmd /etc/kismet
-        done
-        for cmd in $TO_UNDIVERT3; do
-                undivert_gen $cmd /etc/pcmcia
-        done
-        for cmd in $TO_UNDIVERT4; do
-                undivert_gen $cmd /etc/samba
-        done
 
        # make sure the ssh init script even exists if something is failing...
        if ls /etc/init.d/ssh* 1>/dev/null 2>&1 ; then