diff options
| author | pooka <pooka@NetBSD.org> | 2010-02-18 16:14:55 +0000 |
|---|---|---|
| committer | pooka <pooka@NetBSD.org> | 2010-02-18 16:14:55 +0000 |
| commit | 64fbb2e2b8046ae14ae6bb548cf56dbf666df23e (patch) | |
| tree | 087788dd5a028cf4856e76c384bd83d45fe43b9f /share/examples | |
| parent | 35e8f166891aa420feebf57bd2bf04c088acaba5 (diff) | |
In "probeonly", pause after bootstrap to make "monkey plug and
unplug device, monkey see fancy dmesg info" possible.
Diffstat (limited to 'share/examples')
| -rw-r--r-- | share/examples/rump/tipsy/tipsy.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/share/examples/rump/tipsy/tipsy.c b/share/examples/rump/tipsy/tipsy.c index 80105de8855..2473a6e4ff3 100644 --- a/share/examples/rump/tipsy/tipsy.c +++ b/share/examples/rump/tipsy/tipsy.c @@ -1,4 +1,4 @@ -/* $NetBSD: tipsy.c,v 1.1 2009/12/20 19:50:29 pooka Exp $ */ +/* $NetBSD: tipsy.c,v 1.2 2010/02/18 16:14:55 pooka Exp $ */ /* * Copyright (c) 2009 Antti Kantee. All Rights Reserved. @@ -100,8 +100,10 @@ main(int argc, char *argv[]) if (probeonly) rump_boot_sethowto(RUMP_AB_VERBOSE); rump_init(); - if (probeonly) + if (probeonly) { + pause(); exit(0); + } com = rump_sys_open("/dev/dtyU0", O_RDWR); if (com == -1) |
