diff options
author | Miles Bader <miles@gnu.org> | 1996-08-14 17:36:20 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-08-14 17:36:20 +0000 |
commit | 3d5fb2bd4f8354d93ead0ed30bda0605cbde27f3 (patch) | |
tree | d6602365f70b9e2dfa298cf5d8f5568252d12f8f | |
parent | 59fa64d440f60d4d62e7b587fcf2fbeb3eaf6e83 (diff) |
Add `;' before last commands inside { } pairs.
Add symbolic names for freebsd & lites.
(OS_FREEBSD, OS_LITES): New variables.
-rwxr-xr-x | sutils/e2os.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sutils/e2os.sh b/sutils/e2os.sh index 3a86a2b0..644e9616 100755 --- a/sutils/e2os.sh +++ b/sutils/e2os.sh @@ -70,6 +70,8 @@ MAGIC_EXT2_OLD=ef53 OS_LINUX=0 OS_HURD=1 OS_MASIX=2 +OS_FREEBSD=3 +OS_LITES=4 # Superblock SB=/tmp/,e2os-sb.$$ @@ -120,6 +122,8 @@ if test "$OS"; then linux) OS=$OS_LINUX;; hurd) OS=$OS_HURD;; masix) OS=$OS_MASIX;; + freebsd) OS=$OS_FREEBSD;; + lites) OS=$OS_LITES;; "*[!0-9]*") echo 1>&2 "$0: $OS: Unknown ext2 creator_os value"; exit 5;; esac @@ -138,6 +142,8 @@ else $OS_LINUX) OS=linux;; $OS_HURD) OS=hurd;; $OS_MASIX) OS=masix;; + $OS_FREEBSD) OS=freebsd;; + $OS_LITES) OS=lites;; esac echo "$OS" fi |