[Lunar-commits] r17338 - moonbase/trunk/utils/setserial

Auke Kok sofar at lunar-linux.org
Tue Nov 15 21:00:02 UTC 2005


Author: sofar
Date: 2005-11-15 20:59:56 +0000 (Tue, 15 Nov 2005)
New Revision: 17338

Modified:
   moonbase/trunk/utils/setserial/BUILD
Log:
The links even were pointing to the wrong target... ouch. Clean up time.


Modified: moonbase/trunk/utils/setserial/BUILD
===================================================================
--- moonbase/trunk/utils/setserial/BUILD	2005-11-15 20:43:21 UTC (rev 17337)
+++ moonbase/trunk/utils/setserial/BUILD	2005-11-15 20:59:56 UTC (rev 17338)
@@ -1,17 +1,14 @@
-sedit "s/\/usr\/man\/man8/\/usr\/share\/man\/man8/g" Makefile.in &&
-
-default_build  &&
-
 (
 
-  cp  rc.serial  /etc/init.d/serial.sh
+  sedit "s:usr/man:usr/share/man:g" Makefile.in &&
+  default_build  &&
 
-  ln  -sf  ../init.d/rc.serial.sh  /etc/rcS.d/S99serial
-  ln  -sf  ../init.d/rc.serial.sh  /etc/rc0.d/K00serial
-  ln  -sf  ../init.d/rc.serial.sh  /etc/rc6.d/K00serial
-
-  if    [  !  -f         /etc/serial.conf  ]
-  then  cp  serial.conf  /etc/serial.conf
+  install -m 700 rc.serial /etc/init.d/serial.sh     &&
+  ln -sf /etc/init.d/serial.sh /etc/rcS.d/S99serial  &&
+  ln -sf /etc/init.d/serial.sh /etc/rc0.d/K00serial  &&
+  ln -sf /etc/init.d/serial.sh /etc/rc6.d/K00serial  &&
+  if [ ! -f /etc/serial.conf ]; then
+    install -m 644 serial.conf /etc/
   fi
 
-)
+) > $S_FIFO 2>&1



More information about the Lunar-commits mailing list