search for: 5f68a2e

Displaying 2 results from an estimated 2 matches for "5f68a2e".

Did you mean: 1f08a2e
2014 Nov 03
2
[PATCH] customize: firstboot: make sure to run Linux scripts only once
...n again. Also, remove any file found in the scripts subdirectory, be it just run or run in a previous boot. This fixes RHBZ#1159651. --- customize/firstboot.ml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/customize/firstboot.ml b/customize/firstboot.ml index 67b9479..5f68a2e 100644 --- a/customize/firstboot.ml +++ b/customize/firstboot.ml @@ -57,10 +57,13 @@ then for f in $d/* ; do if test -x \"$f\" then + # remove +x from the script being executed, so it is not + # executed again at the next boot + chmod -x $f echo '===...
2014 Nov 03
0
Re: [PATCH] customize: firstboot: make sure to run Linux scripts only once
...cripts subdirectory, be it just run > or run in a previous boot. > > This fixes RHBZ#1159651. > --- > customize/firstboot.ml | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/customize/firstboot.ml b/customize/firstboot.ml > index 67b9479..5f68a2e 100644 > --- a/customize/firstboot.ml > +++ b/customize/firstboot.ml > @@ -57,10 +57,13 @@ then > for f in $d/* ; do > if test -x \"$f\" > then > + # remove +x from the script being executed, so it is not > + # executed again at the next boot...