diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-11-01 12:29:53 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-11-01 12:29:53 +0100 |
commit | d91ae3dbc9c145d83ffe1e6aeb0989aa47a7ee80 (patch) | |
tree | a8ed6b5078c91aebb9a6121569e36d0e544cf777 /src/profiles | |
parent | 451e9389c1fcc2093c6c9d60cc4c7b1e93673bb0 (diff) |
some implementation stuff done in lib-ui, adapted profile-dieter also a bit for it. still a long way to go
Diffstat (limited to 'src/profiles')
-rw-r--r-- | src/profiles/profile-dieter | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/profiles/profile-dieter b/src/profiles/profile-dieter index 8580fd4..ae90b7b 100644 --- a/src/profiles/profile-dieter +++ b/src/profiles/profile-dieter @@ -5,20 +5,14 @@ phase_preparation () { # All things that need to be done manually first notify "A few manual things need to happen first..." - echo -n "Do you want to (re)-configure your networking? (y/*)" - read answer - if [ "$answer" = y ] + if `ask_yesno "Do you want to (re)-configure your networking?"` then - donetwork #configure network by using lib-archboot function. + donetwork #configure network by using library else - echo "Ok. skipping network config" + notify "Ok. skipping network config" fi SVN_USERNAME=dieter - stty -echo - echo -n "Enter your svn password: " - read SVN_PASSWORD - stty echo - echo + ask_password svn SVN="svn --username $SVN_USERNAME --password $SVN_PASSWORD" SVN_BASE=https://192.168.1.2/svn/repos TARGET_HOST=mbp-santa-rosa #TODO: prompt user for this, or let him pass it as cmdline argument |