wok-next diff hardware-ibm-6272/receipt @ rev 18265

Add perl-crypt-blowfish
author Nathan Neulinger <nneul@neulinger.org>
date Thu Aug 06 02:14:05 2015 +0000 (2015-08-06)
parents 7bb096863642
children 9e01bc6321ea
line diff
     1.1 --- a/hardware-ibm-6272/receipt	Sat Sep 14 17:06:00 2013 +0000
     1.2 +++ b/hardware-ibm-6272/receipt	Thu Aug 06 02:14:05 2015 +0000
     1.3 @@ -17,7 +17,8 @@
     1.4  	cat > $fs/etc/init.d/pnp.sh <<EOT
     1.5  #!/bin/sh
     1.6  
     1.7 -status="\\\\033[70G[ \\\\033[1;31mFailed\\\\033[0;39m ]"
     1.8 +. /etc/init.d/rc.functions
     1.9 +
    1.10  echo -n "Switching on isa pnp ethernet card "
    1.11  # io 0x360..0x250 by 0x10, irq 15 12 11 10 9 7 6 5 4 3
    1.12  for io in \$(seq 360 -10 250); do for irq in 15 12 11 10; do
    1.13 @@ -31,16 +32,20 @@
    1.14  }" > /etc/isapnp.conf
    1.15  if isapnp /etc/isapnp.conf > /dev/null 2>&1 ; then
    1.16    modprobe cs89x0 io=0x\$io irq=\$irq > /dev/null 2>&1
    1.17 -  status="\\\\033[70G[ \\\\033[1;33mOK\\\\033[0;39m ]"
    1.18    break 2
    1.19  fi
    1.20  done ; done
    1.21 -echo -e "\$status"
    1.22 +status
    1.23  EOT
    1.24  	chmod +x $fs/etc/init.d/pnp.sh
    1.25  }
    1.26  
    1.27  # Pre and post install commands for Tazpkg.
    1.28 +pre_remove()
    1.29 +{
    1.30 +	sed -i 's/pnp.sh //' $1/etc/rcS.conf
    1.31 +}
    1.32 +
    1.33  post_install()
    1.34  {
    1.35  	grep pnp.sh $1/etc/rcS.conf ||