#!/bin/sh # get_bootwait=$(nvram get boot_wait) if echo "$get_bootwait" | grep -q "on" then echo -n else nvram set boot_wait=on && nvram commit && touch /tmp/boot_wait_enabled_by_init exit 0 fi