#!/usr/bin/python

import os, commands
from user import home

cmdline = commands.getoutput("cat /proc/cmdline")

if ((not os.path.exists(home + "/.linuxmint/mintWelcome/norun.flag")) and (not "boot=casper" in cmdline) and (not "boot=live" in cmdline)):
	os.system("mintwelcome")
