1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 11:15:13 +03:00
aports/testing/nut/nut.pre-install
Valery Kartel 2275192021 testing/nut: fix user creation in post-install
--
add nut home dir /var/lib/nut used for scheduler
fix libexec and driver dirs (libexec -> lib)
add using dns in init-scripts
remove conf.d files from package because it have no sence for now
cleanups in APKBUILD and init-scripts
2017-06-02 08:02:44 +00:00

7 lines
156 B
Bash

#!/bin/sh
addgroup -S nut 2>/dev/null
adduser -S -D -H -h /var/lib/nut -s /sbin/nologin -G nut -g nut nut 2>/dev/null
adduser nut uucp 2>/dev/null
exit 0