From: Sunmin Lee Date: Mon, 5 Dec 2016 11:31:17 +0000 (+0900) Subject: generic-fixed-multiuser.post for fixed multiuser X-Git-Tag: accepted/tizen/3.0.m2/mobile/20170105.024715^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_3.0.m2;p=platform%2Fupstream%2Fmeta-generic.git generic-fixed-multiuser.post for fixed multiuser The new feature "fixed multiuser" requires some operations during making image. It executes all scripts about fixed multiuser. Change-Id: I55758d5e4a97aebede4bd4448e8e33867eef6cda Signed-off-by: Sunmin Lee --- diff --git a/scripts/generic-fixed-multiuser.post b/scripts/generic-fixed-multiuser.post new file mode 100644 index 0000000..afb010e --- /dev/null +++ b/scripts/generic-fixed-multiuser.post @@ -0,0 +1,15 @@ +#!/bin/sh +echo "#################### generic-fixed-multiuser.post ####################" + +fmu_path=/usr/share/fixed_multiuser +fmu_script=${fmu_path}/fixed-multi-user.sh + +if [ -d ${fmu_path} ] +then + if [ -e ${fmu_script} ] + then + /bin/sh ${fmu_path}/fixed-multi-user.sh + fi + + rm -rf ${fmu_path} +fi