Some SlackBuild scripts for Slackware.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
247 B

#!/bin/sh
if ! grep ^i2p /etc/group > /dev/null ; then
/usr/sbin/groupadd -g 283 i2p
fi
if ! grep ^i2p /etc/passwd > /dev/null ; then
/usr/sbin/useradd -u 283 -c I2P -d /var/lib/i2p -g i2p i2p
fi
chown i2p:i2p var/lib/i2p var/cache/i2p