From d91ae3dbc9c145d83ffe1e6aeb0989aa47a7ee80 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Sat, 1 Nov 2008 12:29:53 +0100 Subject: some implementation stuff done in lib-ui, adapted profile-dieter also a bit for it. still a long way to go --- src/profiles/profile-dieter | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'src/profiles/profile-dieter') 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 -- cgit v1.2.3-54-g00ecf