livecd: functions-live - s/$UID/`id -u`
havner
havner at pld-linux.org
Tue Jul 4 15:51:08 CEST 2006
Author: havner Date: Tue Jul 4 13:51:08 2006 GMT
Module: livecd Tag: HEAD
---- Log message:
- s/$UID/`id -u`
---- Files affected:
livecd:
functions-live (1.13 -> 1.14)
---- Diffs:
================================================================
Index: livecd/functions-live
diff -u livecd/functions-live:1.13 livecd/functions-live:1.14
--- livecd/functions-live:1.13 Tue Jul 4 14:29:30 2006
+++ livecd/functions-live Tue Jul 4 15:51:03 2006
@@ -69,6 +69,16 @@
/usr/X11R6/bin/fireglcontrol
/etc/live-alt"
+INITRD_MODULES="
+drivers/block/loop.ko.gz
+drivers/ide/*
+drivers/scsi/*
+fs/isofs/*
+fs/nls/nls_cp437.ko.gz
+fs/nls/nls_iso8859-1.ko.gz
+fs/squashfs/*
+lib/zlib_inflate/*"
+
getparam()
{
CMDLINE=" `cat /proc/cmdline` "
@@ -121,7 +131,7 @@
}
check_root() {
-if [ "$UID" != "0" ]; then
+if [ "id -u" != "0" ]; then
echo "You must be root to run this script."
exit 1
fi
================================================================
---- CVS-web:
http://cvs.pld-linux.org/livecd/functions-live?r1=1.13&r2=1.14&f=u
More information about the pld-cvs-commit
mailing list