X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=hooks%2Flive;h=190fac5a793cdb62b09007c055403fcf9f9a647c;hb=d50b5b1476237e72ca8fe362eee3a7005a4c0cb3;hp=4c72f0b968af59e77a1ccf4789e75165372a132c;hpb=bf5db2437a64882e205529760186f37b02716f5d;p=live-boot-grml.git diff --git a/hooks/live b/hooks/live index 4c72f0b..190fac5 100755 --- a/hooks/live +++ b/hooks/live @@ -126,8 +126,15 @@ fi copy_exec /usr/bin/md5sum /bin # Program: udev -copy_exec /sbin/udevadm /sbin -copy_exec /sbin/udevsettle /sbin +if [ -x /sbin/udevadm ] +then + # lenny + copy_exec /sbin/udevadm /sbin +else + # etch + copy_exec /sbin/udevtrigger /sbin + copy_exec /sbin/udevsettle /sbin +fi copy_exec /usr/bin/udevinfo /bin # Program: wget @@ -139,15 +146,13 @@ fi # FUSE kernel module manual_add_modules fuse -# FUSE filesystem: httpfs -if [ -x /usr/bin/httpfs_ssl ] +# FUSE filesystem: httpfs2 +if [ -x /usr/bin/httpfs2_ssl ] then copy_exec /usr/bin/httpfs2_ssl /bin/httpfs -else - if [ -x /usr/bin/httpfs ] - then - copy_exec /usr/bin/httpfs2 /bin/httpfs - fi +elif [ -x /usr/bin/httpfs2 ] +then + copy_exec /usr/bin/httpfs2 /bin/httpfs fi # FUSE filesystem: curlftpfs @@ -155,4 +160,3 @@ if [ -x /usr/bin/curlftpfs ] then copy_exec /usr/bin/curlftpfs /bin fi -