summaryrefslogtreecommitdiff
path: root/upgrade/update-init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'upgrade/update-init.sh')
-rwxr-xr-xupgrade/update-init.sh26
1 files changed, 0 insertions, 26 deletions
diff --git a/upgrade/update-init.sh b/upgrade/update-init.sh
deleted file mode 100755
index 371abfe..0000000
--- a/upgrade/update-init.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-#
-# RW update initialize script
-#
-PATH=/bin:/usr/bin:/sbin:/usr/sbin
-OWNER_HOME=/opt/usr/home/owner
-
-USER_DISK=`ls /dev/disk/by-partlabel/ | grep -i user`
-USER_MNT=/opt/usr
-
-# Mount user partition (specific to lazy mount)
-mount | grep "$USER_MNT" > /dev/null
-
-if [ $? != "0" ]
-then
- /usr/bin/mount PARTLABEL=$USER_DISK $USER_MNT
-fi
-
-# Create home directory
-test ! -e /opt/usr/home && mkdir -p /opt/usr/home
-chsmack -a "_" /opt/usr/home
-cp -af /usr/share/upgrade/data/home/owner /opt/usr/home
-
-# Copy 3.0 rpm db
-rm -rf /var/lib/rpm/*
-cp -af /usr/share/upgrade/data/rpm/* /var/lib/rpm