[prev in list] [next in list] [prev in thread] [next in thread]
List: ipcop-svn
Subject: [Ipcop-svn] SF.net SVN: ipcop:[4596] ipcop/trunk/lfs
From: gespinasse () users ! sourceforge ! net
Date: 2010-05-21 14:12:42
Message-ID: E1OFSxu-0003z6-Ds () sfp-svn-4 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Revision: 4596
http://ipcop.svn.sourceforge.net/ipcop/?rev=4596&view=rev
Author: gespinasse
Date: 2010-05-21 14:12:42 +0000 (Fri, 21 May 2010)
Log Message:
-----------
We should not need both allow the mkdir command to fail (if directory is present) and \
ignore with -p if error happen Use -p in an uniform way
Modified Paths:
--------------
ipcop/trunk/lfs/acpid
ipcop/trunk/lfs/dnsmasq
ipcop/trunk/lfs/eciadsl-usermode
Modified: ipcop/trunk/lfs/acpid
===================================================================
--- ipcop/trunk/lfs/acpid 2010-05-21 12:12:05 UTC (rev 4595)
+++ ipcop/trunk/lfs/acpid 2010-05-21 14:12:42 UTC (rev 4596)
@@ -86,7 +86,7 @@
cd $(DIR_APP) && make install
# create configdir
- -mkdir -p /etc/acpi/events
+ mkdir -p /etc/acpi/events
# and a config for the power button
echo "event=button[ /]power" > /etc/acpi/events/powerbutton
echo 'action=/usr/local/bin/ipcopreboot --down "Power button pressed"' >> \
/etc/acpi/events/powerbutton
Modified: ipcop/trunk/lfs/dnsmasq
===================================================================
--- ipcop/trunk/lfs/dnsmasq 2010-05-21 12:12:05 UTC (rev 4595)
+++ ipcop/trunk/lfs/dnsmasq 2010-05-21 14:12:42 UTC (rev 4596)
@@ -89,7 +89,7 @@
ln -sf /var/ipcop/dhcp/dnsmasq.conf /etc/dnsmasq.conf
# this to make possible for dnsmasq to delete PID file when it shuts down
- -mkdir /var/run/dnsmasq
+ mkdir -p /var/run/dnsmasq
chown dnsmasq /var/run/dnsmasq
@rm -rf $(DIR_APP)
Modified: ipcop/trunk/lfs/eciadsl-usermode
===================================================================
--- ipcop/trunk/lfs/eciadsl-usermode 2010-05-21 12:12:05 UTC (rev 4595)
+++ ipcop/trunk/lfs/eciadsl-usermode 2010-05-21 14:12:42 UTC (rev 4596)
@@ -106,7 +106,7 @@
cd $(DIR_APP) && make
# no more hack GS7070 binary in /usr/bin , GS7470 in /usr/sbin, all in /usr/sbin
cd $(DIR_APP) && install -p -m 0755 eciadsl-firmware eciadsl-synch eciadsl-pppoeci \
/usr/sbin
- -mkdir -p /etc/eciadsl
+ mkdir -p /etc/eciadsl
cd $(DIR_APP) && install -p -m 0644 firmware00.bin /etc/eciadsl
cd $(DIR_APP) && install -p -m 0644 modems.db /etc/eciadsl
touch /etc/eciadsl/eciadsl.conf
This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic