diff options
author | Oyvind Repvik <nail@nslu2-linux.org> | 2007-03-09 21:38:01 +0000 |
---|---|---|
committer | Oyvind Repvik <nail@nslu2-linux.org> | 2007-03-09 21:38:01 +0000 |
commit | b6ae1290d940b748aea399d57506e7cb853980a2 (patch) | |
tree | c797a785064711006c7717a9217df9d9e7755341 /packages/foonas-init/files/boot/flash | |
parent | a85f58a9138734421bcf7f15a05aaa8e937bcdda (diff) |
remove openturbostation distro, add foonas
Diffstat (limited to 'packages/foonas-init/files/boot/flash')
-rw-r--r-- | packages/foonas-init/files/boot/flash | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/foonas-init/files/boot/flash b/packages/foonas-init/files/boot/flash new file mode 100644 index 0000000000..40f64c9701 --- /dev/null +++ b/packages/foonas-init/files/boot/flash @@ -0,0 +1,13 @@ +#!/bin/sh +# boot from the current (flash) root partition +# nothing need be done apart from setting the +# system LED status correctly +. /etc/default/functions +scc -l redflash -f auto +test -x /sbin/init && exec /sbin/init +# fallback if /sbin/init has been deleted (bad!) +scc -l red +exec <>/dev/console >&0 2>&0 +test -x /sbin/sulogin && exec /sbin/sulogin +test -x /bin/sh && exec /bin/sh +exit 1 |