Commit a1093b74 authored by Marc Vef's avatar Marc Vef
Browse files

Scripts: Do not wait while pretending

parent b975ac5d
Loading
Loading
Loading
Loading
+1 −0
Changes for ifs/scripts/shutdown_adafs.py: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -80,6 +80,7 @@ def shutdown_system(daemon_path, nodelist, sigkill):
            print '[ERR] with pssh. Aborting...'
            exit(1)

    if not PRETEND:
        print 'Give it some time (%d second) to finish up ...' % WAITTIME
        for i in range(WAITTIME):
            print '%d\r' % (WAITTIME - i),
+1 −0
Changes for ifs/scripts/startup_adafs.py: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -100,6 +100,7 @@ def init_system(daemon_path, rootdir, mountdir, nodelist, cleanroot):
            print '[ERR] with pssh. Aborting. Please run shutdown_adafs.py to shut down orphan adafs daemons!'
            exit(1)

    if not PRETEND:
        print 'Give it some time (%d second) to startup ...' % WAITTIME
        for i in range(WAITTIME):
            print '%d\r' % (WAITTIME - i),