summaryrefslogtreecommitdiff
path: root/package/systemd/files/systemd.postinst
blob: 76e21311784bc87cfe2b922473d156ae8b71c108 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh
gid=$(get_next_gid)
add_group utmp $gid
gid=$(get_next_gid)
add_group systemd-journal $gid
gid=$(get_next_gid)
add_group systemd-bus-proxy $gid
add_user systemd-bus-proxy $(get_next_uid) $gid /
gid=$(get_next_gid)
add_group systemd-journal-gateway $gid
add_user systemd-journal-gateway $(get_next_uid) $gid /
gid=$(get_next_gid)
add_group systemd-journal-remote $gid
add_user systemd-journal-remote $(get_next_uid) $gid /
gid=$(get_next_gid)
add_group systemd-journal-upload $gid
add_user systemd-journal-upload $(get_next_uid) $gid /
gid=$(get_next_gid)
add_group systemd-network $gid
add_user systemd-network $(get_next_uid) $gid /
gid=$(get_next_gid)
add_group systemd-resolve $gid
add_user systemd-resolve $(get_next_uid) $gid /
gid=$(get_next_gid)
add_group systemd-timesync $gid
add_user systemd-timesync $(get_next_uid) $gid /