summaryrefslogtreecommitdiff
path: root/rc/bin/mail
diff options
context:
space:
mode:
Diffstat (limited to 'rc/bin/mail')
-rwxr-xr-xrc/bin/mail12
1 files changed, 12 insertions, 0 deletions
diff --git a/rc/bin/mail b/rc/bin/mail
new file mode 100755
index 000000000..6913d743e
--- /dev/null
+++ b/rc/bin/mail
@@ -0,0 +1,12 @@
+#!/bin/rc
+switch($#*){
+case 0
+ exec upas/nedmail
+}
+
+switch($1){
+case -f* -r* -c* -m*
+ exec upas/nedmail $*
+case *
+ exec upas/marshal $*
+}