projects
/
fbsd-stable-mgmt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c4a04422d12c618671af0c54125a3eae7e15e38f
[fbsd-stable-mgmt.git]
/
update_stage1.sh
1
#!/bin/sh
2
zfs_mount()
3
{
4
echo Mount zfs disk
5
zfs set readonly=off llroot
6
zfs mount -a
7
adjkerntz -i
8
/etc/rc.d/syscons start
9
}
10
11
12
mountro=`zfs get -H readonly llroot/ROOT/master | cut -w -f 3`
13
[ ${mountro} = "on" ] && zfs_mount
14
mergemaster -p
15
cd /usr/src && \
16
make installworld && \
17
mergemaster -iF && \
18
make delete-old && \
19
echo "reboot to delete old libs"
20