]> www.hackdaworld.org Git - hdw-linux/hdw-linux.git/blob - packages/optional/unrealircd/unrealircd.setup
added devmapper, cryptsetup and libpopt
[hdw-linux/hdw-linux.git] / packages / optional / unrealircd / unrealircd.setup
1 setup_block()   {
2         groupadd -g 1025 irc || true
3         useradd -c 'IRC-Server' -g irc -d $prefix -s /bin/false \
4                 -u 1025 unreal || true
5         echo "added irc user and group"
6         chown -R unreal.irc /opt/unrealircd
7         chmod +s /opt/unrealircd/bin/ircd
8                 }
9
10 uninstall_block()       {
11         groupdel irc || true
12         userdel unreal || true
13         echo "removed irc user and group"
14                         }