summaryrefslogtreecommitdiffstats
path: root/usr.sbin/installboot/installboot.h
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-01-18 03:07:05 +0000
committerjsing <jsing@openbsd.org>2014-01-18 03:07:05 +0000
commit7762a34bea7c67d99ecb6c2d3cae4fbd5adf1134 (patch)
treeb2d8d2893e1b37d64ba81644e67b678e48701b97 /usr.sbin/installboot/installboot.h
parentAdd a -r flag that allows for the mount point of the root filesystem to be (diff)
downloadwireguard-openbsd-7762a34bea7c67d99ecb6c2d3cae4fbd5adf1134.tar.xz
wireguard-openbsd-7762a34bea7c67d99ecb6c2d3cae4fbd5adf1134.zip
Make installboot(8) easier to use - copy the second stage boot loader to
the default location used by the given architecture. This eliminates the need to copy it over manually prior to running installboot.
Diffstat (limited to 'usr.sbin/installboot/installboot.h')
-rw-r--r--usr.sbin/installboot/installboot.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/installboot/installboot.h b/usr.sbin/installboot/installboot.h
index 69967e8c754..73a9594377c 100644
--- a/usr.sbin/installboot/installboot.h
+++ b/usr.sbin/installboot/installboot.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: installboot.h,v 1.3 2014/01/18 02:47:27 jsing Exp $ */
+/* $OpenBSD: installboot.h,v 1.4 2014/01/18 03:07:05 jsing Exp $ */
/*
* Copyright (c) 2012, 2013 Joel Sing <jsing@openbsd.org>
*
@@ -27,6 +27,7 @@ extern char *stage2;
void bootstrap(int, char *, char *);
#endif
+void filecopy(const char *, const char *);
char *fileprefix(const char *, const char *);
void md_init(void);