diff options
author | Yoann Vandoorselaere <yoann@mandriva.com> | 2000-03-07 17:03:35 +0000 |
---|---|---|
committer | Yoann Vandoorselaere <yoann@mandriva.com> | 2000-03-07 17:03:35 +0000 |
commit | bac62ec2c6fc141a00acd131278befa0ba5f1c5a (patch) | |
tree | 86020bf5baf8f9667899e964b4bbf69f410ed08e /init-sh | |
parent | 982d9611ab63ae80ce0996415b501a2ba3393b5d (diff) | |
download | msec-bac62ec2c6fc141a00acd131278befa0ba5f1c5a.tar msec-bac62ec2c6fc141a00acd131278befa0ba5f1c5a.tar.gz msec-bac62ec2c6fc141a00acd131278befa0ba5f1c5a.tar.bz2 msec-bac62ec2c6fc141a00acd131278befa0ba5f1c5a.tar.xz msec-bac62ec2c6fc141a00acd131278befa0ba5f1c5a.zip |
*** empty log message ***
Diffstat (limited to 'init-sh')
-rwxr-xr-x | init-sh/msec | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/init-sh/msec b/init-sh/msec index ee69564..2fc7c53 100755 --- a/init-sh/msec +++ b/init-sh/msec @@ -1,5 +1,12 @@ #!/bin/bash +# Trap the sigint signal +# so the msec process / subprocess can not be aborted by the user... +# This will avoid trashing of config file while they are modified +# if msec is interupted. ( thanks fg ). + +trap "" sigint + if [[ -z $1 ]]; then echo "Usage : $0 [0-5]" echo "Usage : $0 \"custom\"" |