summaryrefslogtreecommitdiff
blob: cbdba089f166d27fabcba7be00f2a0a580d10e58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/sbin/runscript

start() {
	ebegin "Starting linux_logo"

	if [ ! -x /usr/bin/linux_logo ]
	then
		eerror "ERROR:  linux_logo not found !"
		return 1
	fi

	ebegin "  Creating /etc/issue"
	/usr/bin/linux_logo $LOGO $OPTIONS -F "${FORMAT}" > /etc/issue
	eend $? "  Failed to create /etc/issue"

	ebegin "  Creating /etc/issue.net"
	/usr/bin/linux_logo $LOGO $OPTIONS -F "${FORMATNET}" > /etc/issue.net
	eend $? "  Failed to create /etc/issue.net"
}