install

installer
Log | Files | Refs | README | LICENSE | git clone https://git.ne02ptzero.me/git/install

commit 5f4757689db9fddee47ad8d8e16915f4031ba02a
parent 57be43ef93aaae982aba57b3266b87b49ecf5595
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Wed, 11 Jan 2017 07:48:51 +0100

Add(usb.conf): Add /etc/modprobe.d/usb.conf to the default files

Diffstat:
Adefaultfiles/usb.conf | 7+++++++
Mscreens/install/install.py | 4+++-
2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/defaultfiles/usb.conf b/defaultfiles/usb.conf @@ -0,0 +1,7 @@ +# Begin /etc/modprobe.d/usb.conf + +install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i ohci_hcd ; true +install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i uhci_hcd ; true + +# End /etc/modprobe.d/usb.conf + diff --git a/screens/install/install.py b/screens/install/install.py @@ -807,10 +807,12 @@ class Install: ("rc.site", "etc/sysconfig/rc.site"), ("profile", "etc/profile"), ("inputrc", "etc/inputrc"), - ("shells", "etc/shells") + ("shells", "etc/shells"), + ("usb.conf", "etc/modprobe.d/usb.conf") } self.dlg.infobox("Creating defaultfiles...") + self.exec(["install", "-v", "-m755", "-d", "/etc/modprobe.d"]) for f in files: shutil.copyfile(directory + f[0], path + f[1])