source: trunk/packages/sipb-xen-autoinstaller/guest/etc/init.d/rcS.sipb-xen @ 757

Last change on this file since 757 was 752, checked in by ecprice, 16 years ago

Divert /etc/init.d/rcS

File size: 270 bytes
Line 
1#!/bin/sh
2for x in $(cat /proc/cmdline); do
3    case $x in
4    ip=*)
5      /usr/lib/klibc/bin/ipconfig -d ${x#ip=}
6      ;;
7    noinstall)
8      exit 0
9      ;;
10    esac
11done
12mount -t tmpfs none /var/log
13mount -t tmpfs none /tmp
14sipb-xen-install
15busybox poweroff
16exit 0
Note: See TracBrowser for help on using the repository browser.