add cinit-0.3pre16
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
0a2c96848b
commit
0c13ed6979
1089 changed files with 101811 additions and 0 deletions
|
|
@ -0,0 +1,20 @@
|
|||
#!/bin/sh
|
||||
# Nico Schottelius
|
||||
# cinit: install basic test config
|
||||
#
|
||||
|
||||
. $(dirname $0)/cinit.read-conf
|
||||
|
||||
TARDIR=$(dirname $0)/../samples
|
||||
|
||||
case `uname -s` in
|
||||
Linux)
|
||||
[ -e /etc/gentoo-release ] && TAR=${TARDIR}/gentoo.tar
|
||||
[ -e /etc/debian_version ] && TAR=${TARDIR}/debian.tar
|
||||
[ -e /etc/SuSE-release ] && TAR=${TARDIR}/suse.tar
|
||||
[ -e /etc/mandrake-release ] && TAR=${TARDIR}/mandrake.tar
|
||||
[ -e /etc/fedora-release ] && TAR=${TARDIR}/fedora.tar
|
||||
;;
|
||||
esac
|
||||
|
||||
tar xf ${TAR} -C "$DESTDIR/$PREFIX/$CINIT_DIR"
|
||||
Loading…
Add table
Add a link
Reference in a new issue