diff --git a/data/system/boot/Bootscript b/data/system/boot/Bootscript index 02fa4dedcc..a3d8becb5d 100644 --- a/data/system/boot/Bootscript +++ b/data/system/boot/Bootscript @@ -62,12 +62,18 @@ launchscript $SCRIPTS/SetupEnvironment # Sets timezone etc. runprog beos/bin/clockconfig +# Init Network +if [ "$SAFEMODE" != "yes" ] +then + launchscript $SCRIPTS/Netscript +fi + # Launch servers # We must wait for the app_server and registrar to be ready launch $SERVERS/fake_app_server picasso #launch $SERVERS/app_server picasso # launch app_server -launch $SERVERS/registrar _roster_thread_ # launch registrar +launch $SERVERS/registrar _roster_thread_ # launch registrar launch $SERVERS/debug_server # launch debug_server if [ "$SAFEMODE" != "yes" ]; then diff --git a/data/system/boot/Netscript b/data/system/boot/Netscript new file mode 100644 index 0000000000..8d708d6a62 --- /dev/null +++ b/data/system/boot/Netscript @@ -0,0 +1,9 @@ +# This loads the net_stack_driver that loads and provides the interface to the networking core. +#ls /dev/net_stack + +# That is a static version of the network interface setup. +# You have to edit it to match your driver/ip/subnet. +#ifconfig rtl81690 192.168.0.10 up netmask 255.255.255.0 + +# This adds the default gateway. Edit it for your needs +#route add default 192.168.0.1 diff --git a/data/system/boot/SetupEnvironment b/data/system/boot/SetupEnvironment index 330e2ec0a2..a8b9588629 100644 --- a/data/system/boot/SetupEnvironment +++ b/data/system/boot/SetupEnvironment @@ -11,7 +11,7 @@ export GROUP=users BUILDHOME=/boot/develop case `uname -m` in -BePC|Intel) +BePC|Intel|unknown) BE_HOST_CPU=x86 BETOOLS="$BUILDHOME/bin" BELIBRARIES="$BUILDHOME/lib/$BE_HOST_CPU"