wok diff module-init-tools/receipt @ rev 20095

slitaz-base-files: don't backup-restore the whole /etc ($CONFIG_FILES variable exist), allow to update /etc/init.d/rc.functions
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 05 23:51:00 2017 +0300 (2017-10-05)
parents 36278632a653
children 71360a13cd94
line diff
     1.1 --- a/module-init-tools/receipt	Fri Apr 10 16:29:03 2015 +0200
     1.2 +++ b/module-init-tools/receipt	Thu Oct 05 23:51:00 2017 +0300
     1.3 @@ -52,20 +52,20 @@
     1.4  # Remove Busybox symlink before installing
     1.5  pre_install()
     1.6  {
     1.7 -	rm -f $1/sbin/insmod
     1.8 -	rm -f $1/sbin/modinfo
     1.9 -	rm -f $1/sbin/modprobe
    1.10 -	rm -f $1/sbin/rmmod
    1.11 +	rm -f "$1/sbin/insmod"
    1.12 +	rm -f "$1/sbin/modinfo"
    1.13 +	rm -f "$1/sbin/modprobe"
    1.14 +	rm -f "$1/sbin/rmmod"
    1.15  	# BusyBox puts lsmod in /sbin, not /bin
    1.16 -	rm -f $1/sbin/lsmod
    1.17 +	rm -f "$1/sbin/lsmod"
    1.18  }
    1.19  
    1.20  post_remove()
    1.21  {
    1.22 -	ln -s /bin/busybox $1/sbin/insmod
    1.23 -	ln -s /bin/busybox $1/sbin/modinfo
    1.24 -	ln -s /bin/busybox $1/sbin/modprobe
    1.25 -	ln -s /bin/busybox $1/sbin/rmmod
    1.26 +	ln -s /bin/busybox "$1/sbin/insmod"
    1.27 +	ln -s /bin/busybox "$1/sbin/modinfo"
    1.28 +	ln -s /bin/busybox "$1/sbin/modprobe"
    1.29 +	ln -s /bin/busybox "$1/sbin/rmmod"
    1.30  	# BusyBox puts lsmod in /sbin, not /bin
    1.31 -	ln -s /bin/busybox $1/sbin/lsmod
    1.32 +	ln -s /bin/busybox "$1/sbin/lsmod"
    1.33  }