Switch to PARTUUID

This commit is contained in:
Serge Schneider
2017-03-07 15:13:22 +00:00
parent 8e74b4f15c
commit 718a4e8c21
9 changed files with 20 additions and 8 deletions

View File

@@ -12,7 +12,7 @@
case "$1" in
start)
log_daemon_msg "Starting resize2fs_once"
ROOT_DEV=`grep -Eo 'root=[[:graph:]]+' /proc/cmdline | cut -d '=' -f 2-` &&
ROOT_DEV=$(findmnt / -o source -n) &&
resize2fs $ROOT_DEV &&
update-rc.d resize2fs_once remove &&
rm /etc/init.d/resize2fs_once &&