equal
deleted
inserted
replaced
36 useradd -K UID_MIN=100 -K UID_MAX=999 -K GID_MIN=100 -K GID_MAX=999 -c "MCBOT" -s /bin/bash -d /var/lib/mcbot mcbot |
36 useradd -K UID_MIN=100 -K UID_MAX=999 -K GID_MIN=100 -K GID_MAX=999 -c "MCBOT" -s /bin/bash -d /var/lib/mcbot mcbot |
37 chown -R mcbot:mcbot /var/lib/mcbot |
37 chown -R mcbot:mcbot /var/lib/mcbot |
38 echo "Setting permissions for /var/lib/mcbot/.mcbotrc to 600" |
38 echo "Setting permissions for /var/lib/mcbot/.mcbotrc to 600" |
39 chmod 600 /var/lib/mcbot/.mcbotrc |
39 chmod 600 /var/lib/mcbot/.mcbotrc |
40 echo "ENTER /etc/init.d/mcbot restart after editing .mcbotrc" |
40 echo "ENTER /etc/init.d/mcbot restart after editing .mcbotrc" |
41 update-rc.d mcbot defaults &>/dev/null |
41 update-rc.d mcbot defaults >/dev/null 2>&1 |
42 invoke-rc.d mcbot restart |
42 invoke-rc.d mcbot restart |
43 ;; |
43 ;; |
44 |
44 |
45 abort-upgrade|abort-remove|abort-deconfigure) |
45 abort-upgrade|abort-remove|abort-deconfigure) |
46 ;; |
46 ;; |