diff --git a/tools/fenrir-ignore-screen b/tools/fenrir-ignore-screen index 7ded2594..6a88c1cd 100755 --- a/tools/fenrir-ignore-screen +++ b/tools/fenrir-ignore-screen @@ -19,6 +19,9 @@ def addScreenToIgnoreList(ignoreFileName = '/tmp/fenrirSuspend', screen = '1', u if not screen in ignoreScreens: ignoreScreens.extend(screen) + print('Add screen {0} to ignore file:{1}'.format(screen, ignoreFileName)) + else: + print('Screen {0} already exists in ignore file:{1}'.format(screen, ignoreFileName)) ignoreScreensStr = ','.join(ignoreScreens) with open(ignoreFileName, 'w') as fp: diff --git a/tools/fenrir-unignore-screen b/tools/fenrir-unignore-screen index 749859e6..b62619b6 100755 --- a/tools/fenrir-unignore-screen +++ b/tools/fenrir-unignore-screen @@ -19,6 +19,9 @@ def removeScreenFromIgnoreList(ignoreFileName = '/tmp/fenrirSuspend', screen = ' if screen in ignoreScreens: ignoreScreens.remove(screen) + print('Remove screen {0} to ignore file:{1}'.format(screen, ignoreFileName)) + else: + print('Screen {0} does not exists in ignore file:{1}'.format(screen, ignoreFileName)) ignoreScreensStr = ','.join(ignoreScreens) with open(ignoreFileName, 'w') as fp: