core/networkmanager-openvpn/networkmanager-openvpn.install

14 lines
231 B
Plaintext
Raw Normal View History

post_install() {
if ! getent passwd nm-openvpn >/dev/null; then
useradd -r -U -d / -c 'NetworkManager OpenVPN' -s /usr/sbin/nologin nm-openvpn
fi
}
post_upgrade() {
post_install $1
}
post_remove() {
post_install $1
}