From d9cecaaad8b25f64bf7d63a1cb10a7c64cd35d4b Mon Sep 17 00:00:00 2001 From: Aaditya Bagga Date: Fri, 5 Jun 2015 19:21:53 +0530 Subject: system/openrc: Updated for version 0.16.4. --- system/openrc/doinst.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'system/openrc/doinst.sh') diff --git a/system/openrc/doinst.sh b/system/openrc/doinst.sh index b2fca4b27e38e..8c17991f8e7ea 100644 --- a/system/openrc/doinst.sh +++ b/system/openrc/doinst.sh @@ -12,13 +12,13 @@ config() { # Otherwise, we leave the .new copy for the admin to consider... } -BACKUP=(etc/inittab - etc/rc.conf - etc/conf.d/{bootmisc,consolefont,devfs,dmesg,fsck,hostname,hwclock,keymaps} - etc/conf.d/{killprocs,localmount,modules,netmount,network,staticroute} - etc/conf.d/{tmpfiles,urandom} - etc/logrotate.d/openrc) -for file in "${BACKUP[@]}"; do - config ${file}.new +BACKUP_FILE=(inittab rc.conf logrotate.d/openrc) +BACKUP_CONF=(bootmisc consolefont devfs dmesg fsck hostname hwclock keymaps killprocs localmount modules netmount network staticroute tmpfiles urandom) + +for file in "${BACKUP_FILE[@]}"; do + config "etc/${file}.new" done +for file in "${BACKUP_CONF[@]}"; do + config "etc/conf.d/${file}.new" +done -- cgit v1.2.3