/etc/init.d/squash_layman script support added.

This commit is contained in:
Kolan Sh 2017-02-05 06:32:50 +03:00
parent 2f7bf23b20
commit 240461780f
1 changed files with 6 additions and 0 deletions

View File

@ -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++