diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-05-06 09:53:36 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-05-06 09:53:36 +0000 |
commit | ec0c7a74bbf5824adc4efa54e1f91984ac870a8e (patch) | |
tree | 7f5a8763836154b10c8325629b493ebc67ead7e6 /setup-alpine | |
parent | f590563940559429ffe77094473d12361937852d (diff) | |
download | alpine-conf-ec0c7a74bbf5824adc4efa54e1f91984ac870a8e.tar.bz2 alpine-conf-ec0c7a74bbf5824adc4efa54e1f91984ac870a8e.tar.xz |
move to .in files
Diffstat (limited to 'setup-alpine')
-rw-r--r-- | setup-alpine | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/setup-alpine b/setup-alpine deleted file mode 100644 index 504f850..0000000 --- a/setup-alpine +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/sh - -PROGRAM=setup-alpine -VERSION=0.1 - -PREFIX= -. $PREFIX/lib/libalpine.sh - -while getopts "ah" opt ; do - case $opt in - a) ARCHIVE=yes;; - h) usage;; - *) usage;; - esac -done -shift `expr $OPTIND - 1` - -if [ "$ARCHIVE" ] ; then - echo "Creating an Alpine overlay" - init_tmpdir ROOT -else - PKGADD=apk_add -fi - -$PREFIX/sbin/setup-keymap -$PREFIX/sbin/setup-hostname -$PREFIX/sbin/setup-interfaces - -# setup up dns if no dhcp was configured -grep '^iface.*dhcp' $ROOT/etc/network/interfaces > /dev/null ||\ - $PREFIX/sbin/setup-dns - -# set root password -[ -z "$NOCOMMIT" ] && while ! passwd ; do echo "Please retry." ; done - -for i in devfs dmesg; do - rc-update add $i sysinit -done - -# add some boot services -for i in hwclock modules sysctl hostname syslog bootmisc; do - rc-update add $i boot -done - -for i in networking; do - rc-update add $i default -done - -# start up the services -rc sysinit -rc boot -rc default |