|
From: <abe...@us...> - 2013-01-23 01:30:38
|
Revision: 5926
http://astlinux.svn.sourceforge.net/astlinux/?rev=5926&view=rev
Author: abelbeck
Date: 2013-01-23 01:30:31 +0000 (Wed, 23 Jan 2013)
Log Message:
-----------
FIRSTRUN, simplify, no need to test the current version, we know what we are
Modified Paths:
--------------
branches/1.0/project/astlinux/target_skeleton/etc/init.d/FIRSTRUN
Modified: branches/1.0/project/astlinux/target_skeleton/etc/init.d/FIRSTRUN
===================================================================
--- branches/1.0/project/astlinux/target_skeleton/etc/init.d/FIRSTRUN 2013-01-23 01:08:19 UTC (rev 5925)
+++ branches/1.0/project/astlinux/target_skeleton/etc/init.d/FIRSTRUN 2013-01-23 01:30:31 UTC (rev 5926)
@@ -5,16 +5,6 @@
. /etc/rc.conf
-cleanup_asturw_utmp()
-{
- if rm /oldroot/mnt/asturw/var/run/utmp; then
- if rmdir /oldroot/mnt/asturw/var/run; then
- rmdir /oldroot/mnt/asturw/var
- fi
- fi
-}
-
-
init () {
local new old=""
@@ -31,22 +21,17 @@
cp -p /etc/astlinux-release /mnt/kd/astlinux-release
- case $new in
+ # Upgrade AIF firewall supporting files
+ if /usr/sbin/upgrade-arno-firewall checkMajor; then # Don't auto-upgrade if a major version change
+ /usr/sbin/upgrade-arno-firewall upgrade
+ fi
- astlinux-1.1.*|astlinux-1.0-*)
- # Upgrade AIF firewall supporting files
- if /usr/sbin/upgrade-arno-firewall checkMajor; then # Don't auto-upgrade if a major version change
- /usr/sbin/upgrade-arno-firewall upgrade
- fi
-
- case $old in
- astlinux-0.7*)
- # 0.7 -> 1.x upgrade scripts
- ;;
- esac
+ case $old in
+ astlinux-1.0.*)
+ # 1.0.x -> Current upgrade scripts
;;
-
esac
+
else
echo " no version change."
fi
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|