source: make-mini-image/config/28-nsswitch @ 2905

Last change on this file since 2905 was 1827, checked in by mabarracus, 4 years ago

Final config & renamed scripts

  • Property svn:executable set to *
File size: 245 bytes
Line 
1#!/bin/bash
2set -e
3
4source CONFIG
5source functions
6
7ensure BASE NAME
8
9echo "Setting up databases ..."
10
11sed -i -r 's/(passwd|group):(.*)compat/\1:\2ldap files/g' ./${BASE}/${NAME}/etc/nsswitch.conf
12
13if [ "$?" != "0" ]; then
14    exit 1
15fi
16
17exit 0
Note: See TracBrowser for help on using the repository browser.