For the Buddhist, the concept of moral discipline does not arise from superstitious subscription to the whims and laws of mythical gods and heavenly tyrants. It is not something that arises from fear. It is motivated by the generation of bodhicitta.
The perfection of moral discipline is a proactive decision to abstain from non-virtuous actions, thoughts and conditions. The key to successfully engaging the practice involves mindfulness and awareness. The perfection is achieved by the threefold avoidance of non-virtuous actions, the discipline of keeping the Dharma and the discipline of performing acts which benefit others.