www.nico.schottelius.org/software/cinit/browse_source/cinit-0.3pre18/bin/cinit-conf.svc.linux.network.lo
Nico Schottelius ca81f97577 the key itself plus the cinit release
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-07 21:11:05 +01:00

18 lines
544 B
Bash
Executable file

#!/bin/sh
# Nico Schottelius
# cinit: install service: loopback device
# Date: 2005-08-07
#
. "$(dirname $0)/cinit-conf.read-conf"
set -e
# - mount /proc
"$INSTALL_PROG" "$INSTALL_DIRECTORY" "${DESTDIR}/${CINIT_DIR}/network/lo"
ln -sf /sbin/ifconfig "${DESTDIR}/${CINIT_DIR}/network/lo/$C_ON"
echo lo > "${DESTDIR}/${CINIT_DIR}/network/lo/${C_ON}${C_PARAMS}"
echo 127.0.0.1/8 >> "${DESTDIR}/${CINIT_DIR}/network/lo/${C_ON}${C_PARAMS}"
echo up >> "${DESTDIR}/${CINIT_DIR}/network/lo/${C_ON}${C_PARAMS}"
exit 0