wok-next diff pxe-kexec/receipt @ rev 19465
linld: add zImage support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 24 15:20:54 2016 +0200 (2016-10-24) |
parents | 3557ce070a1e |
children | f7f621732ebe |
line diff
1.1 --- a/pxe-kexec/receipt Wed Apr 16 11:50:05 2014 +0000 1.2 +++ b/pxe-kexec/receipt Mon Oct 24 15:20:54 2016 +0200 1.3 @@ -33,8 +33,8 @@ 1.4 # Pre and post install commands for Tazpkg. 1.5 post_install() 1.6 { 1.7 - grep -q kexec $1/etc/init.d/rc.shutdown && 1.8 - cat >> $1/etc/init.d/rc.shutdown <<EOT 1.9 + grep -q kexec "$1/etc/init.d/rc.shutdown" && 1.10 + cat >> "$1/etc/init.d/rc.shutdown" <<EOT 1.11 # pxe-kexec want kexec in shutdown script. 1.12 kexec -e 2>&1 > /dev/null 1.13 EOT 1.14 @@ -42,5 +42,5 @@ 1.15 1.16 post_remove() 1.17 { 1.18 - sed -i '/kexec/d' $1/etc/init.d/rc.shutdown 1.19 + sed -i '/kexec/d' "$1/etc/init.d/rc.shutdown" 1.20 }