Skip to content

Instantly share code, notes, and snippets.

@mgalgs
Last active August 29, 2015 14:21
Show Gist options
  • Save mgalgs/d26f845a7496989c19d2 to your computer and use it in GitHub Desktop.
Save mgalgs/d26f845a7496989c19d2 to your computer and use it in GitHub Desktop.
minimal busybox init script
#!/bin/sh
mount -t proc none /proc
mount -t sysfs none /sys
echo -e "\nBoot took $(cut -d' ' -f1 /proc/uptime) seconds\n"
exec /bin/sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment