
3 changed files with 11 additions and 0 deletions
@ -0,0 +1,4 @@ |
|||||||
|
#!/bin/bash |
||||||
|
inst_hook pre-udev 10 "$moddir/parse-resume.sh" |
||||||
|
inst_hook mount 90 "$moddir/resume.sh" |
||||||
|
|
@ -0,0 +1,7 @@ |
|||||||
|
#!/bin/sh |
||||||
|
if resume=$(getarg resume=) && ! getarg noresume; then |
||||||
|
export resume |
||||||
|
echo "$resume" >/.resume |
||||||
|
else |
||||||
|
unset resume |
||||||
|
fi |
Loading…
Reference in new issue