mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 01:44:38 +08:00
14 lines
230 B
Plaintext
14 lines
230 B
Plaintext
post_install() {
|
|
if ! getent passwd nm-openvpn >/dev/null; then
|
|
useradd -r -U -d / -c 'NetworkManager OpenVPN' -s /usr/bin/nologin nm-openvpn
|
|
fi
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install $1
|
|
}
|
|
|
|
post_remove() {
|
|
post_install $1
|
|
}
|