From b7f140a3b2ca2727e71bd0f75e61e1e6881a01ca Mon Sep 17 00:00:00 2001 From: Sunmin Lee Date: Mon, 5 Dec 2016 20:31:17 +0900 Subject: [PATCH] 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 --- scripts/generic-fixed-multiuser.post | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 scripts/generic-fixed-multiuser.post 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 -- 2.7.4