Veröffentlicht 16. Juli 201015 j Moin Jungs und Mädels, ich versuch grad nen Script welches von Ubuntu kommt in OpenSuse laufen zu kriegen. Wenn ich es starten will bekomm ich immer folgenden Fehler: /etc/init.d/benno-smtp: line 33: /lib/init/vars.sh: No such file or directory Mir ist schon klar, das es die Datei wohl nur in Ubuntu oder Debian gibt. Meine Frage lautet: Was macht diese Datei und was ist in Suse vergleichbar? Jemand ne Idee bzw. nen Tipp wie ich das Script umschreiben muss? MFG Snipes83
16. Juli 201015 j Inhalt vars.sh: # # Set rcS vars # [ -f /etc/default/rcS ] && . /etc/default/rcS || true # check for bootoption 'noswap' and do not activate swap # partitions/files when it is set. if [ -r /proc/cmdline ] && grep -q ' noswap' /proc/cmdline ; then NOSWAP=yes else NOSWAP=no fi # Accept the same 'quiet' option as the kernel if [ ! -e /proc/cmdline ] || egrep -qw 'quiet' /proc/cmdline ; then VERBOSE="no" fi # But allow both rcS and the kernel options 'quiet' to be overrided # when INIT_VERBOSE=yes is used as well. [ "$INIT_VERBOSE" ] && VERBOSE="$INIT_VERBOSE" || true
16. Juli 201015 j Autor Ne hatte ich nicht, da ich die Datei ja nicht hatte :-) Aber der Inhalt der Datei reicht mir schon. Danke euch
Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.