Changeset 746 in MondoRescue for branches/stable/mindi/rootfs/sbin/LogIt
- Timestamp:
- Aug 5, 2006, 12:00:51 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/rootfs/sbin/LogIt
r30 r746 1 1 #!/bin/sh 2 # 3 # $Id$ 4 # 2 5 3 6 # if [ ! -e "/bin/date" ] ; then … … 8 11 currdate="" 9 12 10 LOGFILE=/tmp/mondo-restore.log 11 if [ ! -e "/tmp/mondo-restore.log" ] ; then 12 echo "...first line..." > /tmp/mondo-restore.log 13 fi 14 # mkdir -p /var/log 15 # ln -s -f /tmp/mondo-restore.log /var/log/mondo-restore.log 13 LOGFILE=/tmp/mondo-restore.log 14 if [ ! -e "$LOGFILE" ] ; then 15 echo "...first line..." > $LOGFILE 16 fi 16 17 17 18 # LogIt $phrase ------ log only
Note:
See TracChangeset
for help on using the changeset viewer.