Overview
| Comment: | fix scripts |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
29803f148a80807e258a2344a8a1d9f5 |
| User & Date: | arcade on 2019-10-22 08:34:05.173 |
| Other Links: | manifest | tags |
Context
|
2019-10-23
| ||
| 06:33 | add rc script check-in: 17041521b1 user: arcade tags: trunk | |
|
2019-10-22
| ||
| 08:34 | fix scripts check-in: 29803f148a user: arcade tags: trunk | |
|
2019-10-21
| ||
| 18:57 | add some targets, add fsck fallbacks check-in: 5621f7a556 user: arcade tags: trunk | |
Changes
Modified cleartmp.init.mk
from [548e494426]
to [9e4a8199b1].
1 2 3 4 5 | cleartmp: mountlate echo "MRC:$@> Clearing tmp."; \ find -x /tmp -mindepth 1 ! -name lost+found \ ! -name snapshots ! -path "./snapshots/*" \ ! -name quota.user ! -name quota.group \ | | | | | 1 2 3 4 5 6 7 8 9 | cleartmp: mountlate echo "MRC:$@> Clearing tmp."; \ find -x /tmp -mindepth 1 ! -name lost+found \ ! -name snapshots ! -path "./snapshots/*" \ ! -name quota.user ! -name quota.group \ -delete -type d -prune ;\ rm -f /tmp/.X*-lock ;\ rm -fr /tmp/.X11-unix ;\ mkdir -m 1777 /tmp/.X11-unix |
Modified fsck.init.mk
from [09c092f04c]
to [15c9110dc2].
1 2 3 | fsck: echo "MRC:$@> Checking disks." ;\ fsck -p ;\ | | | < < | | < | | | | | < | | | | | | | | | | | | < | | > > | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
fsck:
echo "MRC:$@> Checking disks." ;\
fsck -p ;\
case $$? in \
0) ;; \
2) exit 1 \
;; \
4) echo "Rebooting..." ;\
reboot ;\
echo "Reboot failed; help!" ;\
exit 1 \
;; \
8) if [ -n "$${FSCK_Y_ENABLE}" ]; then \
echo "File system preen failed, trying fsck -y." ;\
fsck -y || {\
echo "Automatic file system check failed; help!" ;\
exit 1 ;\
}\
else \
echo "Automatic file system check failed; help!" ;\
exit 1 ;\
fi ;\
;; \
12) echo "Boot interrupted." ;\
exit 1 \
;; \
130) exit 1 \
;; \
*) echo "Unknown error, help!" ;\
exit 1 \
;; \
esac
|