In slack 13; what package installs /etc/rc.d/rc.4 script?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
it says: write on screen the string "mv /etc/rc.d/rc.4.new /etc/rc.d/rc.4" and redirect the output in append mode (the ">>") to the file $startdir/pkg/install/doinst.sh
Gapan, its impossible to do it in a bash prompt
this is an install cd, at initial boot after installing it's gonna hit runlevel 4 and cink out as my rc.4 is being named rc.4.new and not overwriting the original...
I wanna get this little iso uploaded today, and hope to overcome this seemingly small issue...
I replaced GDM on all my installs across 3 PC's and like 15 partitions with just Slim
SalixOS on 2 pcs now has slim vs gdm
got rid of gdm/xdm in my absolute installs too
I even run all my buntu's and debians with slim now
Gapan, its impossible to do it in a bash prompt
this is an install cd, at initial boot after installing it's gonna hit runlevel 4 and cink out as my rc.4 is being named rc.4.new and not overwriting the original...
You never mentioned you wanted to put it in a CD! In that case it won't work of course. You'll need to recreate the package, by editing the SLKBUILD file like this:
Code:
#Maintainer: George Vlahavas <vlahavas~at~gmail~dot~com>
pkgname=slim
pkgver=1.3.1
pkgrel=1gv
arch=i486
source=slim-1.3.1.tar.gz
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "themes")
options=('noautodotnew')
dotnew=('etc/slim.conf')
url=http://slim.berlios.de/
slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"slim - Simple Login Manager"
"SLiM is a Desktop-independent graphical login manager for X11, derived"
"from Login.app. It aims to be light and simple, although completely"
"configurable through themes and an option file; is suitable for"
"machines on which remote login functionalities are not needed."
)
build() {
cd $startdir/src/$pkgname-$pkgver
sed -i "s/CFLAGS=/CFLAGS+= /" Makefile
make || return 1
make install DESTDIR=$startdir/pkg
THEMES="icelite"
for i in $THEMES; do
cp -a $startdir/src/$i $startdir/pkg/usr/share/slim/themes
done
chown -R root:root $startdir/pkg/usr/share/slim/themes
sed -i "s/current_theme\(.*\)/current_theme icelite/" $startdir/pkg/etc/slim.conf
}
You'll need to install slkbuild of course in order build the package using that SLKBUILD: http://download.salixos.org/i486/13....noarch-1gv.txz
Just install that, edit your SLKBUILD file and run slkbuild -X in the same directory.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.