diff options
| author | Jeff Bailey <jbailey@ubuntu.com> | 2005-06-08 21:13:41 +0000 |
|---|---|---|
| committer | Jeff Bailey <jbailey@ubuntu.com> | 2005-06-08 21:13:41 +0000 |
| commit | de9c780f57ae626f05ec1c971c56648250cba03c (patch) | |
| tree | 585d8515ef623e64b2800cc4266920fff1564940 /scripts/functions | |
| download | initramfs-tools-de9c780f57ae626f05ec1c971c56648250cba03c.tar.gz initramfs-tools-de9c780f57ae626f05ec1c971c56648250cba03c.zip | |
Initial checkin
Diffstat (limited to 'scripts/functions')
| -rw-r--r-- | scripts/functions | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/functions b/scripts/functions new file mode 100644 index 0000000..19560ba --- /dev/null +++ b/scripts/functions @@ -0,0 +1,9 @@ +panic() +{ + echo $@ + if [ -e /bin/busybox ]; then + FS1='(initramfs) ' exec /bin/busybox sh + else + FS1='(initramfs) ' exec /bin/sh + fi +} |
