Changeset 7
- Timestamp:
- 01/12/08 17:31:17 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/addons/share/addon_restartApache.uninstall.sh
r6 r7 27 27 answer='' 28 28 while [ true ]; do 29 echo -n " save configuration (${1})? [yN] ";29 echo -n "${1} (${2})? [${3}] "; 30 30 read readAnswer 31 31 readAnswer=$(echo ${readAnswer} | tr [:upper:] [:lower:]); … … 34 34 answer=$readAnswer; 35 35 elif [ "$readAnswer" == '' ]; then 36 answer= 'n';36 answer="${4}"; 37 37 else 38 38 answer=''; … … 47 47 for conf in $preNames; do 48 48 if [ -f /opt/pdadmin/addons/conf/$conf.conf ]; then 49 prompt $conf.conf;49 prompt 'save configuration' $conf.conf 'yN' 'n'; 50 50 if [ "$answer" == 'y' ]; then 51 51 mv /opt/pdadmin/addons/conf/$conf.conf /opt/pdadmin/addons/conf/$conf.conf.bak;
Note: See TracChangeset
for help on using the changeset viewer.
