summarylogtreecommitdiffstats
path: root/cuttlefish-user.install
blob: 4ca35a16884b22b1c56f5f84bd62658ee0d76021 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

set -e

post_install() {
    if ! getent passwd _cutf-operator > /dev/null 2>&1
    then
        # The cvdnetwork group is created by cuttlefish-base
        useradd --system --shell /usr/bin/nologin --home-dir /var/empty \
                --no-create-home --gid cvdnetwork _cutf-operator
    fi
}

# vim: ft=sh:ts=4:sw=4:et:nowrap