[Lunar-commits] CVS: moonbase/utils/util-linux make-issue,1.7,1.8
Auke Kok
sofar at lunar-linux.org
Sun Nov 7 22:56:39 UTC 2004
Update of /var/cvs/lunar/moonbase/utils/util-linux
In directory espresso.foo-projects.org:/tmp/cvs-serv32212
Modified Files:
make-issue
Log Message:
This is needed!
Index: make-issue
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/util-linux/make-issue,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- make-issue 25 Jan 2004 19:31:15 -0000 1.7
+++ make-issue 7 Nov 2004 22:56:36 -0000 1.8
@@ -1,10 +1,12 @@
#!/bin/bash
+[ ! -w /etc/ ] && exit 0
+
for ISSUE in /etc/issue /etc/issue.net ; do
if [ -f /etc/lunar.release ] ; then
cat /etc/lunar.release > $ISSUE
else
- echo "Lunar Linux 1.3.3 (Pvt. Variables)" > $ISSUE
+ echo "Lunar Linux 1.4.0 (General P. Fault)" > $ISSUE
fi
echo "Kernel `uname -r` on an `uname -m`" >> $ISSUE
echo "" >> $ISSUE
More information about the Lunar-commits
mailing list