Scripts that should run on different distros - Was: SOLVED]Re: Squeeze X86 with 4GByte RAM?
On Mon, 08 Apr 2013 19:38:56 +0200, Kevin Chadwick <email@example.com>
And start your display manager with /etc/init.d/?dm restart
It's correct to explain it on a Debian list, as it is for Debian. Allow me
a OT note/question. Since the issue is solved, I guess it's ok to capture
this thread? I'm using different Linux  so I stopped writing scripts
using e.g. CPU frequency setup tools, instead I set it up by
/sys/devices/system and regarding to other issues I use wrappers, e.g.
spinymouse11.2@suse11-2:~> cat /media/archlinux/usr/local/bin/service
exec /etc/rc.d/$1 $2
So for Debian it would be
exec /etc/init.d/$1 $2
It's also possible to write a script for several distros, cat /etc/issue
and then to continue with the commands and paths for that distro, but than
all scripts become unneeded bloated.
How do you handle to run scripts for different distros? Linux distros
always were a little bit different, but nowadays it's very much that
 What is the correct plural of "Linux"?