Changeset 150
- Timestamp:
- 12/15/2006 15:24:24 (5 years ago)
- Location:
- trunk/confman
- Files:
-
- 3 edited
-
confmanlib.sh (modified) (1 diff)
-
confsync.sh (modified) (2 diffs)
-
export.sh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/confman/confmanlib.sh
r148 r150 448 448 # Accepts log messages on stdin until EOF 449 449 function conf_logger { 450 logger -t "$MYNAME[$$]: $USER" -s2>&4450 logger -t "$MYNAME[$$]: $USER" 2>&4 451 451 } 452 452 -
trunk/confman/confsync.sh
r147 r150 55 55 exit 56 56 57 echo "Sync operation started" >&257 echo "Sync operation started" | conf_logger 58 58 for layer in $LAYERS ; do 59 59 echo "Rolling on $layer..." … … 66 66 conf_markclean 67 67 conf_recordAction sync 68 echo "Sync operation finished successfully" >&268 echo "Sync operation finished successfully" | conf_logger 69 69 70 70 rm -rf $tmpdir -
trunk/confman/export.sh
r144 r150 30 30 cp $CONF_EXPORT_FILE $backup 31 31 32 echo "Beginning export operation." >&232 echo "Beginning export operation." | conf_logger 33 33 if ! conf_export $CONF_EXPORT_FILE ; then 34 34 echo "The export failed. Restoring $CONF_EXPORT_FILE from backup." >&2 … … 37 37 exit 1 38 38 fi 39 echo "Export complete." >&239 echo "Export complete." | conf_logger 40 40 41 41 echo "Removing $backup"
Note: See TracChangeset
for help on using the changeset viewer.
