mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 19:36:48 +02:00
7 lines
284 B
Bash
7 lines
284 B
Bash
#!/bin/sh
|
|
|
|
# Rename to underscore if previous exists
|
|
getent passwd tuptime > /dev/null && sed -i 's/^tuptime\b/_tuptime/g' /etc/passwd && sed -i 's/\/var\/lib\/tuptime/\/dev\/null/g' /etc/passwd
|
|
getent group tuptime > /dev/null && sed -i 's/\btuptime\b/_tuptime/g' /etc/group
|
|
|
|
exit 0
|