autofs i bash 2.0.x
Marcin 'Qrczak' Kowalczyk
qrczak w knm.org.pl
Pią, 9 Paź 1998, 23:17:57 CEST
On Fri, 9 Oct 1998, Tomasz Kłoczko wrote:
> Nie działa pod bashem /etc/rc.d/init.d/autofs. Jakby ktoś zaznany ze
> specyfiką basha 2.0.x mógł przyjrzeć się temu skryptowi.
--- /etc/rc.d/init.d/autofs.orig Fri Oct 9 23:15:02 1998
+++ /etc/rc.d/init.d/autofs Fri Oct 9 23:15:24 1998
@@ -117,8 +117,8 @@
exit 1
fi
echo "Checking for changes to /etc/auto.master ...."
- TMP1=`mktemp /tmp/autofs.XXXXXX` || { echo "could not make temp file" >&2; exit 1 }
- TMP2=`mktemp /tmp/autofs.XXXXXX` || { echo "could not make temp file" >&2; exit 1 }
+ TMP1=`mktemp /tmp/autofs.XXXXXX` || { echo "could not make temp file" >&2; exit 1; }
+ TMP2=`mktemp /tmp/autofs.XXXXXX` || { echo "could not make temp file" >&2; exit 1; }
getmounts >$TMP1
ps ax|grep "[0-9]:[0-9][0-9] /usr/sbin/automount " | (
while read pid tt stat time command; do
--
__("< Marcin Kowalczyk * qrczak w knm.org.pl http://qrczak.home.ml.org/
\__/ GCS/M d- s+:-- a21 C+++>+++$ UL++>++++$ P+++ L++>++++$ E->++
^^ W++ N+++ o? K? w(---) O? M- V? PS-- PE++ Y? PGP->+ t
QRCZAK 5? X- R tv-- b+>++ DI D- G+ e>++++ h! r--%>++ y-
Więcej informacji o liście dyskusyjnej pld-devel-pl