/etc/init.d/squash_layman script support added.
This commit is contained in:
parent
2f7bf23b20
commit
240461780f
|
@ -186,6 +186,12 @@ if [ $STAGE_CNT -eq $STAGE ]; then
|
||||||
/etc/init.d/squash_portage restart
|
/etc/init.d/squash_portage restart
|
||||||
[ 0 -ne $? ] && echo "Stage $STAGE: cann't restart squash_portage ;-( =======" && exit $STAGE
|
[ 0 -ne $? ] && echo "Stage $STAGE: cann't restart squash_portage ;-( =======" && exit $STAGE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# recreate layman squashfs files
|
||||||
|
if [[ -x /etc/init.d/squash_layman && "" != "`mount | grep '^aufs' | grep $PORTDIR`" ]]; then
|
||||||
|
/etc/init.d/squash_layman restart
|
||||||
|
[ 0 -ne $? ] && echo "Stage $STAGE: cann't restart squash_layman ;-( =======" && exit $STAGE
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
let STAGE_CNT++
|
let STAGE_CNT++
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue