File tree Expand file tree Collapse file tree 3 files changed +45
-0
lines changed Expand file tree Collapse file tree 3 files changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/sh -e
2+ #
3+ # rc.local
4+ #
5+ # This script is executed at the end of each multiuser runlevel.
6+ # Make sure that the script will "exit 0" on success or any other
7+ # value on error.
8+ #
9+ # In order to enable or disable this script just change the execution
10+ # bits.
11+ #
12+ # By default this script does nothing.
13+
14+ exit 0
Original file line number Diff line number Diff line change 1+ #! /bin/sh -e
2+ #
3+ # rc.local
4+ #
5+ # This script is executed at the end of each multiuser runlevel.
6+ # Make sure that the script will "exit 0" on success or any other
7+ # value on error.
8+ #
9+ # In order to enable or disable this script just change the execution
10+ # bits.
11+ #
12+ # By default this script does nothing.
13+
14+ /usr/local/sbin/pinebook_autoresize_rootfs.sh
15+
16+ exit 0
Original file line number Diff line number Diff line change 1+ #! /bin/sh -e
2+ #
3+ # rc.local
4+ #
5+ # This script is executed to resize the rootfs and it is execured only once after boot up
6+ #
7+
8+ if [ -e /etc/original_rc.local ]; then
9+ /usr/local/sbin/resize_rootfs.sh
10+ mv /etc/original_rc.local /etc/rc.local
11+ fi
12+
13+ rm -f " $0 "
14+
15+ exit 0
You can’t perform that action at this time.
0 commit comments