diff --git a/post-inst.sh b/post-inst.sh index e4ec2f5..7bc8d9f 100755 --- a/post-inst.sh +++ b/post-inst.sh @@ -250,6 +250,14 @@ EOF fi fi +if [[ ! -f '/usr/bin/shutdown' ]]; then + ln -s /sbin/shutdown /usr/bin/shutdown +fi + +if [[ ! -f '/usr/bin/reboot' ]]; then + ln -s /sbin/reboot /usr/bin/reboot +fi + zfs \ snapshot \ ${HOSTNAME,,}/ROOT/${ID}@post-install