|
|
@ -58,13 +58,9 @@ OPTIONS=autodig,fruit:slime mold,boulder:0 |
|
|
|
# Happy hacking! |
|
|
|
EOF |
|
|
|
|
|
|
|
# TODO This should later get postinstall |
|
|
|
echo -e "#!/bin/bash\n/usr/sbin/dgamelaunch -q -f /etc/dgamelaunch.conf" >${root}/usr/sbin/dgamelaunch_telnetd |
|
|
|
chmod +x ${root}/usr/sbin/dgamelaunch_telnetd |
|
|
|
chown 0.0 ${root}/usr/sbin/dgamelaunch_telnetd |
|
|
|
grep -q dgamelaunch /etc/inetd.conf || cat >>/etc/inetd.conf<<EOF |
|
|
|
#telnet stream tcp nowait root.root /usr/sbin/tcpd /usr/sbin/in.telnetd -h -L /usr/sbin/dgamelaunch_telnetd |
|
|
|
EOF |
|
|
|
chown 2.4 ${root}/usr/games/lib/dgamelaunch/ -R |
|
|
|
chmod g+w ${root}/usr/games/lib/dgamelaunch/ -R |
|
|
|
} |
|
|
|