[code]/*
* Generic parts
* Linux ethernet bridge
*
* Authors:
* Lennert Buytenhek
如果在脚本里作不太好。我不喜欢。 我习惯把它放在定时里做 crontab 这个命令你可以试试 用法是这样的 你的脚本名字 expora.sh [code] 写一个文件ttt 内容 * * 01 * * expora.sh 然后执行crontab ttt 就可以了 在不同的系统有的用cron 最好man crontab的用法 记不太清楚了 [/code]
#! /bin/sh # # mirrorRoot - mirrors the root disk cleanly and safely # ################################################################ # Author: Todd Stansell # $Id: mirrorRoot,v 1.21 2004-02-01 03:40:20-08 todd Exp $ # # Notes: # # 1) I use vxprint -F ... throughout this script because of the # fact that vxprint -ht output is not consistent between versions. # Version 3.1 adds info...