Add disable services functionality

This commit is contained in:
remittor
2023-11-28 14:46:17 +03:00
parent 23f5b83ad4
commit 968d70c0af
4 changed files with 111 additions and 1 deletions

View File

@@ -56,7 +56,12 @@ done
cp -f $CFG $XDIR/__current.config
#cp -f .config current.config
DIS_SVC_FN=$XDIR/disabled_services.lst
rm -f $DIS_SVC_FN
DIS_SVC_LST="$( get_cfg_dis_svc_lst $CFG )"
if [ -n "$DIS_SVC_LST" ]; then
echo $DIS_SVC_LST > $DIS_SVC_FN
fi
make defconfig