SCRIPTS = bin/* hooks/* scripts/live scripts/live-functions scripts/live-helpers scripts/*/*
-all: test build
+all: build
test:
@echo -n "Checking for syntax errors"
if [ -x /usr/bin/memdiskfind ]
then
copy_exec /usr/bin/memdiskfind
- manual_add_modules phram mtdblock
+ manual_add_modules phram
+ manual_add_modules mtdblock
fi
# Program: cpio
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
-.TH LIVE\-BOOT 7 06.12.2010 3.0~a13 "Debian Live Projekt"
+.TH LIVE\-BOOT 7 2011\-01\-11 3.0~a14 "Debian Live Projekt"
.SH NAME
\fBlive\-boot\fP \- System Boot Skripte
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
-.TH LIVE\-BOOT 1 06.12.2010 3.0~a13 "Debian Live Projekt"
+.TH LIVE\-BOOT 1 2011\-01\-11 3.0~a14 "Debian Live Projekt"
.SH NAME
\fBlive\-snapshot\fP \- simple script to ease persistence usage
-.TH LIVE\-BOOT 7 2010\-12\-06 3.0~a13 "Debian Live Project"
+.TH LIVE\-BOOT 7 2011\-01\-11 3.0~a14 "Debian Live Project"
.SH NAME
\fBlive\-boot\fR \- System Boot Scripts
-.TH LIVE\-BOOT 1 2010\-12\-06 3.0~a13 "Debian Live Project"
+.TH LIVE\-BOOT 1 2011\-01\-11 3.0~a14 "Debian Live Project"
.SH NAME
\fBlive\-snapshot\fR \- simple script to ease persistence usage
#
msgid ""
msgstr ""
-"Project-Id-Version: live-boot 3.0~a13\n"
-"POT-Creation-Date: 2010-12-06 11:27+0100\n"
+"Project-Id-Version: live-boot 3.0~a14\n"
+"POT-Creation-Date: 2011-01-11 13:39+0100\n"
"PO-Revision-Date: 2010-05-24 12:34+0300\n"
"Last-Translator: Daniel Baumann <daniel@debian.org>\n"
"Language-Team: none\n"
#. type: TH
#: en/live-boot.7:1 en/live-snapshot.1:1
#, no-wrap
-msgid "2010-12-06"
-msgstr "06.12.2010"
+msgid "2011-01-11"
+msgstr ""
#. type: TH
#: en/live-boot.7:1 en/live-snapshot.1:1
-#, no-wrap
-msgid "3.0~a13"
-msgstr "3.0~a13"
+msgid "3.0~a14"
+msgstr "3.0~a14"
#. type: TH
#: en/live-boot.7:1 en/live-snapshot.1:1
#
msgid ""
msgstr ""
-"Project-Id-Version: live-boot 3.0~a13\n"
-"POT-Creation-Date: 2010-12-06 11:27+0100\n"
+"Project-Id-Version: live-boot 3.0~a14\n"
+"POT-Creation-Date: 2011-01-11 13:39+0100\n"
"PO-Revision-Date: 2010-05-24 12:34+0300\n"
"Last-Translator: Daniel Baumann <daniel@debian.org>\n"
"Language-Team: none\n"
#. type: TH
#: en/live-boot.7:1 en/live-snapshot.1:1
#, no-wrap
-msgid "2010-12-06"
-msgstr "06.12.2010"
+msgid "2011-01-11"
+msgstr ""
#. type: TH
#: en/live-boot.7:1 en/live-snapshot.1:1
-#, no-wrap
-msgid "3.0~a13"
-msgstr "3.0~a13"
+msgid "3.0~a14"
+msgstr "3.0~a14"
#. type: TH
#: en/live-boot.7:1 en/live-snapshot.1:1
msgid ""
msgstr ""
"Project-Id-Version: live-boot VERSION\n"
-"POT-Creation-Date: 2010-12-06 11:27+0100\n"
+"POT-Creation-Date: 2011-01-11 13:39+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
#. type: TH
#: en/live-boot.7:1 en/live-snapshot.1:1
#, no-wrap
-msgid "2010-12-06"
+msgid "2011-01-11"
msgstr ""
#. type: TH
#: en/live-boot.7:1 en/live-snapshot.1:1
#, no-wrap
-msgid "3.0~a13"
+msgid "3.0~a14"
msgstr ""
#. type: TH
msgid ""
msgstr ""
"Project-Id-Version: live-boot VERSION\n"
-"POT-Creation-Date: 2010-12-06 11:27+0100\n"
+"POT-Creation-Date: 2011-01-11 13:39+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
#. type: TH
#: en/live-boot.7:1 en/live-snapshot.1:1
#, no-wrap
-msgid "2010-12-06"
+msgid "2011-01-11"
msgstr ""
#. type: TH
#: en/live-boot.7:1 en/live-snapshot.1:1
#, no-wrap
-msgid "3.0~a13"
+msgid "3.0~a14"
msgstr ""
#. type: TH
elif echo ${sysfs_path} | grep -q "^/block/dm-"
then
return 0
+ elif echo ${sysfs_path} | grep -q "^/block/mtdblock"
+ then
+ return 0
fi
return 1
method="manual"
fi
- # iterate the physical interfaces and add them to the interfaces list
- if [ "${method}" != dhcp ] || ([ ! -x /root/usr/sbin/NetworkManager ] && [ ! -x /root/usr/sbin/wicd ])
+ # iterate the physical interfaces and add them to the interfaces list and also add when ethdevice= called on cmdline
+ if [ "${method}" != dhcp ] || ([ ! -x /root/usr/sbin/NetworkManager ] && [ ! -x /root/usr/sbin/wicd ]) || [ ! -z "${ETHDEVICE}" ]
then
for interface in /sys/class/net/eth* /sys/class/net/ath* /sys/class/net/wlan*
do