debian/postinst
changeset 26 767f79e69de1
parent 5 7c7fc8906920
child 31 bbcb8a3366b4
equal deleted inserted replaced
25:a0fad312ea30 26:767f79e69de1
    36 	usermod -s /bin/bash -d /var/lib/nobody nobody
    36 	usermod -s /bin/bash -d /var/lib/nobody nobody
    37 	chown -R nobody:nogroup /var/lib/nobody
    37 	chown -R nobody:nogroup /var/lib/nobody
    38 	echo "Setting permissions for /var/lib/nobody/.mcbotrc to 600"
    38 	echo "Setting permissions for /var/lib/nobody/.mcbotrc to 600"
    39 	chmod 600 /var/lib/nobody/.mcbotrc
    39 	chmod 600 /var/lib/nobody/.mcbotrc
    40 	echo "ENTER /etc/init.d/mcbot restart after editing .mcbotrc"
    40 	echo "ENTER /etc/init.d/mcbot restart after editing .mcbotrc"
    41 	/etc/init.d/mcbot restart
    41 	update-rc.d mcbot defaults &>/dev/null
       
    42 	invoke-rc.d mcbot restart
    42     ;;
    43     ;;
    43 
    44 
    44     abort-upgrade|abort-remove|abort-deconfigure)
    45     abort-upgrade|abort-remove|abort-deconfigure)
    45     ;;
    46     ;;
    46 
    47