summaryrefslogtreecommitdiff
path: root/distrib/zaurus/ipk/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/zaurus/ipk/postinst')
-rw-r--r--distrib/zaurus/ipk/postinst24
1 files changed, 20 insertions, 4 deletions
diff --git a/distrib/zaurus/ipk/postinst b/distrib/zaurus/ipk/postinst
index 33854638e34..3e50f36415e 100644
--- a/distrib/zaurus/ipk/postinst
+++ b/distrib/zaurus/ipk/postinst
@@ -1,4 +1,20 @@
#!/bin/sh
+# $OpenBSD: postinst,v 1.4 2005/07/12 06:33:41 uwe Exp $
+#
+# Copyright (c) 2005 Uwe Stuehler <uwe@openbsd.org>
+#
+# Permission to use, copy, modify, and distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
cd /root/etc/rc.d || exit $?
@@ -33,11 +49,11 @@ done
rm -f rc.zboot
rm -f zboot
rm -f zbsdmod.o
-cp /hdd2/OpenBSD/rc.zboot .
-cp /hdd2/OpenBSD/zboot .
-cp /hdd2/OpenBSD/zbsdmod.o .
+cp /usr/local/OpenBSD/rc.zboot .
+cp /usr/local/OpenBSD/zboot .
+cp /usr/local/OpenBSD/zbsdmod.o .
sync; sleep 3
mount -o remount,ro /
-insmod /hdd2/OpenBSD/zbsdmod.o
+insmod /usr/local/OpenBSD/zbsdmod.o