Changeset 4987 in genesis
- Timestamp:
- Nov 2, 2005, 5:53:08 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/config-node.sh
r4986 r4987 27 27 PRETEND=no 28 28 FORCE=no 29 CMD=do_move 30 31 # Genesis master location. 32 link=${GENESIS:-http://${WHOST}/cgi-bin/g_list.pl/} 33 list=filelist 34 35 # Location for private config 36 lcd=${LCDIR:-/lcd} 37 dir=${lcd} 29 38 30 39 FETCH=${FETCH:-/usr/bin/fetch} … … 41 50 echo "-p <proxy> Set a proxy" 42 51 echo "-P Use ${HTTP_PROXY_DEFAULT} as a proxy" 43 echo "- dUse DHCP to get an address"52 echo "-D Use DHCP to get an address" 44 53 echo "-n Show what would happen - but do not do it" 54 echo "-d Diff met hudiige config (maar doe niets)" 45 55 echo "-q Suppress all output and user interaction" 46 56 echo "-F Force disk to write" … … 52 62 case "$i" 53 63 in 54 - d) connset || exit 164 -D) connset || exit 1 55 65 ;; 56 66 -q) 57 67 QUIET=yes 68 ;; 69 -d) 70 DO_CMD=do_diff 71 dir=${TMPDIR} 58 72 ;; 59 73 -p) … … 103 117 export HTTP_USER_AGENT 104 118 export TMPDIR 105 106 # Genesis master location.107 link=${GENESIS:-http://${WHOST}/cgi-bin/g_list.pl/}108 list=filelist109 110 # Location for private config111 lcd=${LCDIR:-/lcd}112 119 113 120 … … 284 291 } 285 292 286 dir=${lcd}287 293 288 294 … … 304 310 fi 305 311 306 CMD=do_move307 if [ "x$1" = "x-d" ]; then308 CMD=do_diff309 dir=${TMPDIR}310 shift311 fi312 312 313 313 if [ -r ${lcd}/myname ]; then
Note:
See TracChangeset
for help on using the changeset viewer.